Struct dropbox_sdk::files::FileSharingInfo [−][src]
#[non_exhaustive]pub struct FileSharingInfo { pub read_only: bool, pub parent_shared_folder_id: SharedFolderId, pub modified_by: Option<AccountId>, }
dbx_files only.Sharing info for a file which is contained by a shared folder.
Fields (Non-exhaustive)
Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.read_only: boolTrue if the file or folder is inside a read-only shared folder.
ID of shared folder that holds this file.
modified_by: Option<AccountId>The last user who modified the file. This field will be null if the user’s account has been deleted.
Implementations
impl FileSharingInfo[src]
impl FileSharingInfo[src]pub fn new(read_only: bool, parent_shared_folder_id: SharedFolderId) -> Self[src]
pub fn with_modified_by(self, value: AccountId) -> Self[src]
Trait Implementations
impl Clone for FileSharingInfo[src]
impl Clone for FileSharingInfo[src]fn clone(&self) -> FileSharingInfo[src]
fn clone(&self) -> FileSharingInfo[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for FileSharingInfo[src]
impl Debug for FileSharingInfo[src]impl<'de> Deserialize<'de> for FileSharingInfo[src]
impl<'de> Deserialize<'de> for FileSharingInfo[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<FileSharingInfo> for FileSharingInfo[src]
impl PartialEq<FileSharingInfo> for FileSharingInfo[src]fn eq(&self, other: &FileSharingInfo) -> bool[src]
fn eq(&self, other: &FileSharingInfo) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &FileSharingInfo) -> bool[src]
fn ne(&self, other: &FileSharingInfo) -> bool[src]This method tests for !=.
impl Serialize for FileSharingInfo[src]
impl Serialize for FileSharingInfo[src]impl StructuralPartialEq for FileSharingInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for FileSharingInfo
impl Send for FileSharingInfo
impl Sync for FileSharingInfo
impl Unpin for FileSharingInfo
impl UnwindSafe for FileSharingInfo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,