Struct asana::models::user_response_all_of::UserResponseAllOf
source · [−]pub struct UserResponseAllOf {
pub email: Option<String>,
pub photo: Option<Box<UserResponseAllOfPhoto>>,
pub workspaces: Option<Vec<WorkspaceCompact>>,
}
Fields
email: Option<String>
The user’s email address.
photo: Option<Box<UserResponseAllOfPhoto>>
workspaces: Option<Vec<WorkspaceCompact>>
Workspaces and organizations this user may access. Note\: The API will only return workspaces and organizations that also contain the authenticated user.
Implementations
sourceimpl UserResponseAllOf
impl UserResponseAllOf
pub fn new() -> UserResponseAllOf
Trait Implementations
sourceimpl Clone for UserResponseAllOf
impl Clone for UserResponseAllOf
sourcefn clone(&self) -> UserResponseAllOf
fn clone(&self) -> UserResponseAllOf
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UserResponseAllOf
impl Debug for UserResponseAllOf
sourceimpl<'de> Deserialize<'de> for UserResponseAllOf
impl<'de> Deserialize<'de> for UserResponseAllOf
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
sourceimpl PartialEq<UserResponseAllOf> for UserResponseAllOf
impl PartialEq<UserResponseAllOf> for UserResponseAllOf
sourcefn eq(&self, other: &UserResponseAllOf) -> bool
fn eq(&self, other: &UserResponseAllOf) -> bool
sourceimpl Serialize for UserResponseAllOf
impl Serialize for UserResponseAllOf
impl StructuralPartialEq for UserResponseAllOf
Auto Trait Implementations
impl RefUnwindSafe for UserResponseAllOf
impl Send for UserResponseAllOf
impl Sync for UserResponseAllOf
impl Unpin for UserResponseAllOf
impl UnwindSafe for UserResponseAllOf
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