[][src]Struct dropbox_sdk::sharing::SharedLinkSettings

pub struct SharedLinkSettings {
    pub requested_visibility: Option<RequestedVisibility>,
    pub link_password: Option<String>,
    pub expires: Option<DropboxTimestamp>,
    pub audience: Option<LinkAudience>,
    pub access: Option<RequestedLinkAccessLevel>,
}
This is supported on crate feature dbx_sharing only.

Fields

requested_visibility: Option<RequestedVisibility>

The requested access for this shared link.

link_password: Option<String>

If requested_visibility is RequestedVisibility::Password this is needed to specify the password to access the link.

expires: Option<DropboxTimestamp>

Expiration time of the shared link. By default the link won't expire.

audience: Option<LinkAudience>

The new audience who can benefit from the access level specified by the link's access level specified in the link_access_level field of LinkPermissions. This is used in conjunction with team policies and shared folder policies to determine the final effective audience type in the effective_audience field of `LinkPermissions.

access: Option<RequestedLinkAccessLevel>

Requested access level you want the audience to gain from this link. Note, modifying access level for an existing link is not supported.

Trait Implementations

impl Debug for SharedLinkSettings[src]

impl Default for SharedLinkSettings[src]

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

impl Serialize for SharedLinkSettings[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.