pub struct BanId(/* private fields */);Expand description
A ban record.
Implementations§
Trait Implementations§
impl Copy for BanId
Source§impl<'de> Deserialize<'de> for BanId
impl<'de> Deserialize<'de> for BanId
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BanId
Source§impl Ord for BanId
impl Ord for BanId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for BanId
impl PartialOrd for BanId
impl StructuralPartialEq for BanId
Auto Trait Implementations§
impl Freeze for BanId
impl RefUnwindSafe for BanId
impl Send for BanId
impl Sync for BanId
impl Unpin for BanId
impl UnsafeUnpin for BanId
impl UnwindSafe for BanId
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