Struct dropbox_sdk::sharing::MemberAccessLevelResult
source · #[non_exhaustive]pub struct MemberAccessLevelResult {
pub access_level: Option<AccessLevel>,
pub warning: Option<String>,
pub access_details: Option<Vec<ParentFolderAccessInfo>>,
}Expand description
Contains information about a member’s access level to content after an operation.
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_level: Option<AccessLevel>The member still has this level of access to the content through a parent folder.
warning: Option<String>A localized string with additional information about why the user has this access level to the content.
access_details: Option<Vec<ParentFolderAccessInfo>>The parent folders that a member has access to. The field is present if the user has access to the first parent folder where the member gains access.
Implementations§
source§impl MemberAccessLevelResult
impl MemberAccessLevelResult
pub fn with_access_level(self, value: AccessLevel) -> Self
Available on crate feature
dbx_sharing only.pub fn with_warning(self, value: String) -> Self
Available on crate feature
dbx_sharing only.pub fn with_access_details(self, value: Vec<ParentFolderAccessInfo>) -> Self
Available on crate feature
dbx_sharing only.Trait Implementations§
source§impl Clone for MemberAccessLevelResult
Available on crate feature dbx_sharing only.
impl Clone for MemberAccessLevelResult
Available on crate feature
dbx_sharing only.source§fn clone(&self) -> MemberAccessLevelResult
fn clone(&self) -> MemberAccessLevelResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MemberAccessLevelResult
Available on crate feature dbx_sharing only.
impl Debug for MemberAccessLevelResult
Available on crate feature
dbx_sharing only.source§impl Default for MemberAccessLevelResult
Available on crate feature dbx_sharing only.
impl Default for MemberAccessLevelResult
Available on crate feature
dbx_sharing only.source§fn default() -> MemberAccessLevelResult
fn default() -> MemberAccessLevelResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MemberAccessLevelResult
Available on crate feature dbx_sharing only.
impl<'de> Deserialize<'de> for MemberAccessLevelResult
Available on crate feature
dbx_sharing only.source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for MemberAccessLevelResult
Available on crate feature dbx_sharing only.
impl PartialEq for MemberAccessLevelResult
Available on crate feature
dbx_sharing only.source§fn eq(&self, other: &MemberAccessLevelResult) -> bool
fn eq(&self, other: &MemberAccessLevelResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MemberAccessLevelResult
Available on crate feature dbx_sharing only.
impl Serialize for MemberAccessLevelResult
Available on crate feature
dbx_sharing only.impl Eq for MemberAccessLevelResult
Available on crate feature
dbx_sharing only.impl StructuralEq for MemberAccessLevelResult
Available on crate feature
dbx_sharing only.impl StructuralPartialEq for MemberAccessLevelResult
Available on crate feature
dbx_sharing only.Auto Trait Implementations§
impl RefUnwindSafe for MemberAccessLevelResult
impl Send for MemberAccessLevelResult
impl Sync for MemberAccessLevelResult
impl Unpin for MemberAccessLevelResult
impl UnwindSafe for MemberAccessLevelResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more