pub struct InnerUser {
pub name: String,
pub discord_name: String,
}Expand description
Represents the data to be stored within the [User] enum.
It contains the username and discord name of the user being
analyzed.
name field is the name of the user.
discord_name field is the discord name of the user.
Fields§
§name: String§discord_name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for InnerUser
impl<'de> Deserialize<'de> for InnerUser
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 StructuralPartialEq for InnerUser
Auto Trait Implementations§
impl Freeze for InnerUser
impl RefUnwindSafe for InnerUser
impl Send for InnerUser
impl Sync for InnerUser
impl Unpin for InnerUser
impl UnwindSafe for InnerUser
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