pub struct FullUser<M> {
pub user: UserState<M>,
pub level: RoleLevel,
}
Fields§
§user: UserState<M>
§level: RoleLevel
Trait Implementations§
§impl<'de, M> Deserialize<'de> for FullUser<M>where
M: Deserialize<'de>,
impl<'de, M> Deserialize<'de> for FullUser<M>where M: Deserialize<'de>,
§fn deserialize<__D>(
__deserializer: __D
) -> Result<FullUser<M>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<FullUser<M>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl<M> PartialEq for FullUser<M>where
M: PartialEq,
impl<M> PartialEq for FullUser<M>where M: PartialEq,
§impl<M> Serialize for FullUser<M>where
M: Serialize,
impl<M> Serialize for FullUser<M>where M: Serialize,
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<M> StructuralPartialEq for FullUser<M>
Auto Trait Implementations§
impl<M> RefUnwindSafe for FullUser<M>where M: RefUnwindSafe,
impl<M> Send for FullUser<M>where M: Send,
impl<M> Sync for FullUser<M>where M: Sync,
impl<M> Unpin for FullUser<M>where M: Unpin,
impl<M> UnwindSafe for FullUser<M>where M: UnwindSafe,
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