Struct dropbox_sdk::sharing::MembershipInfo [−][src]
#[non_exhaustive]pub struct MembershipInfo { pub access_type: AccessLevel, pub permissions: Option<Vec<MemberPermission>>, pub initials: Option<String>, pub is_inherited: bool, }
This is supported on crate feature
dbx_sharing only.Expand description
The information about a member of the shared content.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.access_type: AccessLevelThe access type for this member. It contains inherited access type from parent folder, and acquired access type from this folder.
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: boolTrue if the member has access from a parent folder.
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MembershipInfoimpl Send for MembershipInfoimpl Sync for MembershipInfoimpl Unpin for MembershipInfoimpl UnwindSafe for MembershipInfoBlanket Implementations
Mutably borrows from an owned value. Read more