pub enum GeoBanSelector {
All,
Areas(Vec<GeoArea>),
Id(Uuid),
}Expand description
Which bans of a value select_geo_bans picks.
Variants§
All
Every ban of the value.
Areas(Vec<GeoArea>)
The ban of each area; every area must be banned.
Id(Uuid)
One ban by its uuid.
Trait Implementations§
Source§impl Clone for GeoBanSelector
impl Clone for GeoBanSelector
Source§fn clone(&self) -> GeoBanSelector
fn clone(&self) -> GeoBanSelector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GeoBanSelector
impl RefUnwindSafe for GeoBanSelector
impl Send for GeoBanSelector
impl Sync for GeoBanSelector
impl Unpin for GeoBanSelector
impl UnsafeUnpin for GeoBanSelector
impl UnwindSafe for GeoBanSelector
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more