[][src]Struct dropbox_sdk::sharing::UserInfo

pub struct UserInfo {
    pub account_id: AccountId,
    pub email: String,
    pub display_name: String,
    pub same_team: bool,
    pub team_member_id: Option<String>,
}
This is supported on crate feature dbx_sharing only.

Basic information about a user. Use users::get_account() and users::get_account_batch() to obtain more detailed information.

Fields

account_id: AccountId

The account ID of the user.

email: String

Email address of user.

display_name: String

The display name of the user.

same_team: bool

If the user is in the same team as current user.

team_member_id: Option<String>

The team member ID of the shared folder member. Only present if same_team is true.

Implementations

impl UserInfo[src]

pub fn new(
    account_id: AccountId,
    email: String,
    display_name: String,
    same_team: bool
) -> Self
[src]

pub fn with_team_member_id(self, value: Option<String>) -> Self[src]

Trait Implementations

impl Debug for UserInfo[src]

impl<'de> Deserialize<'de> for UserInfo[src]

impl Serialize for UserInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.