pub struct BanAdd {
pub guild_id: Id<GuildMarker>,
pub user: User,
}
Fields§
§guild_id: Id<GuildMarker>
§user: User
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BanAdd
impl<'de> Deserialize<'de> for BanAdd
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BanAdd
impl StructuralPartialEq for BanAdd
Auto Trait Implementations§
impl Freeze for BanAdd
impl RefUnwindSafe for BanAdd
impl Send for BanAdd
impl Sync for BanAdd
impl Unpin for BanAdd
impl UnwindSafe for BanAdd
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