#[non_exhaustive]pub struct TeamFolderMetadata {
pub team_folder_id: SharedFolderId,
pub name: String,
pub status: TeamFolderStatus,
pub is_team_shared_dropbox: bool,
pub sync_setting: SyncSetting,
pub content_sync_settings: Vec<ContentSyncSetting>,
}
Available on crate features
async_routes
and dbx_team
only.Expand description
Properties of a team folder.
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.team_folder_id: SharedFolderId
The ID of the team folder.
name: String
The name of the team folder.
status: TeamFolderStatus
The status of the team folder.
True if this team folder is a shared team root.
sync_setting: SyncSetting
The sync setting applied to this team folder.
content_sync_settings: Vec<ContentSyncSetting>
Sync settings applied to contents of this team folder.
Implementations§
Source§impl TeamFolderMetadata
impl TeamFolderMetadata
pub fn new( team_folder_id: SharedFolderId, name: String, status: TeamFolderStatus, is_team_shared_dropbox: bool, sync_setting: SyncSetting, content_sync_settings: Vec<ContentSyncSetting>, ) -> Self
Trait Implementations§
Source§impl Clone for TeamFolderMetadata
impl Clone for TeamFolderMetadata
Source§fn clone(&self) -> TeamFolderMetadata
fn clone(&self) -> TeamFolderMetadata
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 TeamFolderMetadata
impl Debug for TeamFolderMetadata
Source§impl<'de> Deserialize<'de> for TeamFolderMetadata
impl<'de> Deserialize<'de> for TeamFolderMetadata
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 TeamFolderMetadata
impl PartialEq for TeamFolderMetadata
Source§impl Serialize for TeamFolderMetadata
impl Serialize for TeamFolderMetadata
impl Eq for TeamFolderMetadata
impl StructuralPartialEq for TeamFolderMetadata
Auto Trait Implementations§
impl Freeze for TeamFolderMetadata
impl RefUnwindSafe for TeamFolderMetadata
impl Send for TeamFolderMetadata
impl Sync for TeamFolderMetadata
impl Unpin for TeamFolderMetadata
impl UnwindSafe for TeamFolderMetadata
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.