Struct dropbox_sdk::paper::FoldersContainingPaperDoc
source · [−]#[non_exhaustive]pub struct FoldersContainingPaperDoc {
pub folder_sharing_policy_type: Option<FolderSharingPolicyType>,
pub folders: Option<Vec<Folder>>,
}Available on crate feature
dbx_paper only.Expand description
Metadata about Paper folders containing the specififed Paper doc.
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.folder_sharing_policy_type: Option<FolderSharingPolicyType>The sharing policy of the folder containing the Paper doc.
folders: Option<Vec<Folder>>The folder path. If present the first folder is the root folder.
Implementations
sourceimpl FoldersContainingPaperDoc
impl FoldersContainingPaperDoc
pub fn with_folder_sharing_policy_type(
self,
value: FolderSharingPolicyType
) -> Self
pub fn with_folders(self, value: Vec<Folder>) -> Self
Trait Implementations
sourceimpl Clone for FoldersContainingPaperDoc
impl Clone for FoldersContainingPaperDoc
sourcefn clone(&self) -> FoldersContainingPaperDoc
fn clone(&self) -> FoldersContainingPaperDoc
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 FoldersContainingPaperDoc
impl Debug for FoldersContainingPaperDoc
sourceimpl Default for FoldersContainingPaperDoc
impl Default for FoldersContainingPaperDoc
sourcefn default() -> FoldersContainingPaperDoc
fn default() -> FoldersContainingPaperDoc
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FoldersContainingPaperDoc
impl<'de> Deserialize<'de> for FoldersContainingPaperDoc
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<FoldersContainingPaperDoc> for FoldersContainingPaperDoc
impl PartialEq<FoldersContainingPaperDoc> for FoldersContainingPaperDoc
sourcefn eq(&self, other: &FoldersContainingPaperDoc) -> bool
fn eq(&self, other: &FoldersContainingPaperDoc) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &FoldersContainingPaperDoc) -> bool
fn ne(&self, other: &FoldersContainingPaperDoc) -> bool
This method tests for !=.
sourceimpl Serialize for FoldersContainingPaperDoc
impl Serialize for FoldersContainingPaperDoc
impl Eq for FoldersContainingPaperDoc
impl StructuralEq for FoldersContainingPaperDoc
impl StructuralPartialEq for FoldersContainingPaperDoc
Auto Trait Implementations
impl RefUnwindSafe for FoldersContainingPaperDoc
impl Send for FoldersContainingPaperDoc
impl Sync for FoldersContainingPaperDoc
impl Unpin for FoldersContainingPaperDoc
impl UnwindSafe for FoldersContainingPaperDoc
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