pub struct UserCollection {
pub api_token: Option<bool>,
pub initials: Option<String>,
pub id: Option<i32>,
pub alias: Option<String>,
pub title: Option<String>,
pub username: String,
pub account_number: Option<String>,
pub enabled: Option<bool>,
pub color: Option<String>,
}Fields§
§api_token: Option<bool>§initials: Option<String>§id: Option<i32>§alias: Option<String>§title: Option<String>§username: String§account_number: Option<String>§enabled: Option<bool>§color: Option<String>Implementations§
Source§impl UserCollection
impl UserCollection
pub fn new(username: String) -> UserCollection
Trait Implementations§
Source§impl Clone for UserCollection
impl Clone for UserCollection
Source§fn clone(&self) -> UserCollection
fn clone(&self) -> UserCollection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserCollection
impl Debug for UserCollection
Source§impl Default for UserCollection
impl Default for UserCollection
Source§fn default() -> UserCollection
fn default() -> UserCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserCollection
impl<'de> Deserialize<'de> for UserCollection
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
Source§impl PartialEq for UserCollection
impl PartialEq for UserCollection
Source§impl Serialize for UserCollection
impl Serialize for UserCollection
impl StructuralPartialEq for UserCollection
Auto Trait Implementations§
impl Freeze for UserCollection
impl RefUnwindSafe for UserCollection
impl Send for UserCollection
impl Sync for UserCollection
impl Unpin for UserCollection
impl UnwindSafe for UserCollection
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