#[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§
Source§impl 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§
Source§impl Clone for FoldersContainingPaperDoc
impl Clone for FoldersContainingPaperDoc
Source§fn clone(&self) -> FoldersContainingPaperDoc
fn clone(&self) -> FoldersContainingPaperDoc
Returns a duplicate 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 FoldersContainingPaperDoc
impl Debug for FoldersContainingPaperDoc
Source§impl Default for FoldersContainingPaperDoc
impl Default for FoldersContainingPaperDoc
Source§fn default() -> FoldersContainingPaperDoc
fn default() -> FoldersContainingPaperDoc
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FoldersContainingPaperDoc
impl<'de> Deserialize<'de> for FoldersContainingPaperDoc
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
impl Eq for FoldersContainingPaperDoc
impl StructuralPartialEq for FoldersContainingPaperDoc
Auto Trait Implementations§
impl Freeze for FoldersContainingPaperDoc
impl RefUnwindSafe for FoldersContainingPaperDoc
impl Send for FoldersContainingPaperDoc
impl Sync for FoldersContainingPaperDoc
impl Unpin for FoldersContainingPaperDoc
impl UnwindSafe for FoldersContainingPaperDoc
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.