[−][src]Struct dropbox_sdk::sharing::SharedFolderMetadata
The metadata which includes basic information about the shared folder.
Fields
access_type: AccessLevel
The current user's access level for this shared folder.
is_inside_team_folder: bool
Whether this folder is inside of a team folder.
is_team_folder: bool
Whether this folder is a team folder.
name: String
The name of the this shared folder.
policy: FolderPolicy
Policies governing this shared folder.
preview_url: String
URL for displaying a web preview of the shared folder.
The ID of the shared folder.
time_invited: DropboxTimestamp
Timestamp indicating when the current user was invited to this shared folder.
owner_display_names: Option<Vec<String>>
The display names of the users that own the folder. If the folder is part of a team folder, the display names of the team admins are also included. Absent if the owner display names cannot be fetched.
owner_team: Option<Team>
The team that owns the folder. This field is not present if the folder is not owned by a team.
The ID of the parent shared folder. This field is present only if the folder is contained within another shared folder.
path_lower: Option<String>
The lower-cased full path of this shared folder. Absent for unmounted folders.
link_metadata: Option<SharedContentLinkMetadata>
The metadata of the shared content link to this shared folder. Absent if there is no link on the folder. This is for an unreleased feature so it may not be returned yet.
permissions: Option<Vec<FolderPermission>>
Actions the current user may perform on the folder and its contents. The set of permissions corresponds to the FolderActions in the request.
access_inheritance: AccessInheritance
Whether the folder inherits its members from its parent.
Methods
impl SharedFolderMetadata
[src]
pub fn new(
access_type: AccessLevel,
is_inside_team_folder: bool,
is_team_folder: bool,
name: String,
policy: FolderPolicy,
preview_url: String,
shared_folder_id: SharedFolderId,
time_invited: DropboxTimestamp
) -> Self
[src]
access_type: AccessLevel,
is_inside_team_folder: bool,
is_team_folder: bool,
name: String,
policy: FolderPolicy,
preview_url: String,
shared_folder_id: SharedFolderId,
time_invited: DropboxTimestamp
) -> Self
pub fn with_owner_display_names(self, value: Option<Vec<String>>) -> Self
[src]
pub fn with_owner_team(self, value: Option<Team>) -> Self
[src]
pub fn with_parent_shared_folder_id(self, value: Option<SharedFolderId>) -> Self
[src]
pub fn with_path_lower(self, value: Option<String>) -> Self
[src]
pub fn with_link_metadata(
self,
value: Option<SharedContentLinkMetadata>
) -> Self
[src]
self,
value: Option<SharedContentLinkMetadata>
) -> Self
pub fn with_permissions(self, value: Option<Vec<FolderPermission>>) -> Self
[src]
pub fn with_access_inheritance(self, value: AccessInheritance) -> Self
[src]
Trait Implementations
impl Debug for SharedFolderMetadata
[src]
impl Serialize for SharedFolderMetadata
[src]
impl<'de> Deserialize<'de> for SharedFolderMetadata
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
Auto Trait Implementations
impl Unpin for SharedFolderMetadata
impl Sync for SharedFolderMetadata
impl Send for SharedFolderMetadata
impl UnwindSafe for SharedFolderMetadata
impl RefUnwindSafe for SharedFolderMetadata
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,