pub struct User {Show 16 fields
pub id: Option<String>,
pub type: RHashType,
pub name: Option<String>,
pub login: Option<String>,
pub created_at: Option<String>,
pub modified_at: Option<String>,
pub language: Option<String>,
pub timezone: Option<String>,
pub space_amount: Option<i64>,
pub space_used: Option<i64>,
pub max_upload_size: Option<i64>,
pub status: Option<Status>,
pub job_title: Option<String>,
pub phone: Option<String>,
pub address: Option<String>,
pub avatar_url: Option<String>,
}Expand description
User : A standard representation of a user, as returned from any user API endpoints by default
Fields§
§id: Option<String>The unique identifier for this user
type: RHashTypeuser
name: Option<String>The display name of this user
login: Option<String>The primary email address of this user
created_at: Option<String>When the user object was created
modified_at: Option<String>When the user object was last modified
language: Option<String>The language of the user, formatted in modified version of the ISO 639-1 format.
timezone: Option<String>The user’s timezone
space_amount: Option<i64>The user’s total available space amount in bytes
space_used: Option<i64>The amount of space in use by the user
max_upload_size: Option<i64>The maximum individual file size in bytes the user can have
status: Option<Status>The user’s account status
job_title: Option<String>The user’s job title
phone: Option<String>The user’s phone number
address: Option<String>The user’s address
avatar_url: Option<String>URL of the user’s avatar image
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
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 User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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