Struct asana::models::user_compact::UserCompact
source · [−]pub struct UserCompact {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
name: Option<String>
Read-only except when same user as requester. The user’s name.
Implementations
sourceimpl UserCompact
impl UserCompact
pub fn new() -> UserCompact
Trait Implementations
sourceimpl Clone for UserCompact
impl Clone for UserCompact
sourcefn clone(&self) -> UserCompact
fn clone(&self) -> UserCompact
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 UserCompact
impl Debug for UserCompact
sourceimpl<'de> Deserialize<'de> for UserCompact
impl<'de> Deserialize<'de> for UserCompact
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<UserCompact> for UserCompact
impl PartialEq<UserCompact> for UserCompact
sourcefn eq(&self, other: &UserCompact) -> bool
fn eq(&self, other: &UserCompact) -> bool
sourceimpl Serialize for UserCompact
impl Serialize for UserCompact
impl StructuralPartialEq for UserCompact
Auto Trait Implementations
impl RefUnwindSafe for UserCompact
impl Send for UserCompact
impl Sync for UserCompact
impl Unpin for UserCompact
impl UnwindSafe for UserCompact
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