[−][src]Struct dropbox_sdk::sharing::UserInfo
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]
account_id: AccountId,
email: String,
display_name: String,
same_team: bool
) -> Self
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]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
impl Serialize for UserInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for UserInfo
impl Send for UserInfo
impl Sync for UserInfo
impl Unpin for UserInfo
impl UnwindSafe for UserInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,