[−][src]Struct dropbox_sdk::sharing::UserFileMembershipInfo
The information about a user member of the shared content with an appended last seen timestamp.
Fields
access_type: AccessLevel
The access type for this member. It contains inherited access type from parent folder, and acquired access type from this folder.
user: UserInfo
The account information for the membership user.
permissions: Option<Vec<MemberPermission>>
The permissions that requesting user has on this member. The set of permissions corresponds to the MemberActions in the request.
initials: Option<String>
Never set.
is_inherited: bool
True if the member has access from a parent folder.
time_last_seen: Option<DropboxTimestamp>
The UTC timestamp of when the user has last seen the content, if they have.
platform_type: Option<PlatformType>
The platform on which the user has last seen the content, or unknown.
Methods
impl UserFileMembershipInfo
[src]
pub fn new(access_type: AccessLevel, user: UserInfo) -> Self
[src]
pub fn with_permissions(self, value: Option<Vec<MemberPermission>>) -> Self
[src]
pub fn with_initials(self, value: Option<String>) -> Self
[src]
pub fn with_is_inherited(self, value: bool) -> Self
[src]
pub fn with_time_last_seen(self, value: Option<DropboxTimestamp>) -> Self
[src]
pub fn with_platform_type(self, value: Option<PlatformType>) -> Self
[src]
Trait Implementations
impl Debug for UserFileMembershipInfo
[src]
impl Serialize for UserFileMembershipInfo
[src]
impl<'de> Deserialize<'de> for UserFileMembershipInfo
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
Auto Trait Implementations
impl Unpin for UserFileMembershipInfo
impl Sync for UserFileMembershipInfo
impl Send for UserFileMembershipInfo
impl UnwindSafe for UserFileMembershipInfo
impl RefUnwindSafe for UserFileMembershipInfo
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,