Struct ehelply::models::user_flags::UserFlags
source · pub struct UserFlags {
pub requires_tour: Option<bool>,
pub missing_data: Option<bool>,
pub legal_updates: Option<bool>,
pub newsletters: Option<bool>,
}
Expand description
UserFlags : Flags that may be attached to a user
Fields
requires_tour: Option<bool>
missing_data: Option<bool>
legal_updates: Option<bool>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for UserFlags
impl<'de> Deserialize<'de> for UserFlags
sourcefn 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 UserFlags
Auto Trait Implementations
impl RefUnwindSafe for UserFlags
impl Send for UserFlags
impl Sync for UserFlags
impl Unpin for UserFlags
impl UnwindSafe for UserFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more