Struct dropbox_sdk::sharing::UpdateFileMemberArgs
source · [−]#[non_exhaustive]pub struct UpdateFileMemberArgs {
pub file: PathOrId,
pub member: MemberSelector,
pub access_level: AccessLevel,
}Available on crate feature
dbx_sharing only.Expand description
Arguments for update_file_member().
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.file: PathOrIdFile for which we are changing a member’s access.
member: MemberSelectorThe member whose access we are changing.
access_level: AccessLevelThe new access level for the member.
Implementations
sourceimpl UpdateFileMemberArgs
impl UpdateFileMemberArgs
pub fn new(
file: PathOrId,
member: MemberSelector,
access_level: AccessLevel
) -> Self
Trait Implementations
sourceimpl Clone for UpdateFileMemberArgs
impl Clone for UpdateFileMemberArgs
sourcefn clone(&self) -> UpdateFileMemberArgs
fn clone(&self) -> UpdateFileMemberArgs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UpdateFileMemberArgs
impl Debug for UpdateFileMemberArgs
sourceimpl<'de> Deserialize<'de> for UpdateFileMemberArgs
impl<'de> Deserialize<'de> for UpdateFileMemberArgs
sourcefn 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
sourceimpl PartialEq<UpdateFileMemberArgs> for UpdateFileMemberArgs
impl PartialEq<UpdateFileMemberArgs> for UpdateFileMemberArgs
sourcefn eq(&self, other: &UpdateFileMemberArgs) -> bool
fn eq(&self, other: &UpdateFileMemberArgs) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UpdateFileMemberArgs) -> bool
fn ne(&self, other: &UpdateFileMemberArgs) -> bool
This method tests for !=.
sourceimpl Serialize for UpdateFileMemberArgs
impl Serialize for UpdateFileMemberArgs
impl Eq for UpdateFileMemberArgs
impl StructuralEq for UpdateFileMemberArgs
impl StructuralPartialEq for UpdateFileMemberArgs
Auto Trait Implementations
impl RefUnwindSafe for UpdateFileMemberArgs
impl Send for UpdateFileMemberArgs
impl Sync for UpdateFileMemberArgs
impl Unpin for UpdateFileMemberArgs
impl UnwindSafe for UpdateFileMemberArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more