pub struct BanReason {
pub ban_reason: ReasonForBan,
}
Fields§
§ban_reason: ReasonForBan
the reason for the ban
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BanReason
impl RefUnwindSafe for BanReason
impl Send for BanReason
impl Sync for BanReason
impl Unpin for BanReason
impl UnwindSafe for BanReason
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