[][src]Struct dropbox_sdk::sharing::SharedFolderMetadataBase

pub struct SharedFolderMetadataBase {
    pub access_type: AccessLevel,
    pub is_inside_team_folder: bool,
    pub is_team_folder: bool,
    pub owner_display_names: Option<Vec<String>>,
    pub owner_team: Option<Team>,
    pub parent_shared_folder_id: Option<SharedFolderId>,
    pub path_lower: Option<String>,
    pub parent_folder_name: Option<String>,
}
This is supported on crate feature dbx_sharing only.

Properties of 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.

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.

parent_shared_folder_id: Option<SharedFolderId>

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.

parent_folder_name: Option<String>

Display name for the parent folder.

Implementations

impl SharedFolderMetadataBase[src]

pub fn new(
    access_type: AccessLevel,
    is_inside_team_folder: bool,
    is_team_folder: bool
) -> Self
[src]

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_parent_folder_name(self, value: Option<String>) -> Self[src]

Trait Implementations

impl Debug for SharedFolderMetadataBase[src]

impl<'de> Deserialize<'de> for SharedFolderMetadataBase[src]

impl Serialize for SharedFolderMetadataBase[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.