[][src]Struct dropbox_sdk::sharing::LinkSettings

pub struct LinkSettings {
    pub access_level: Option<AccessLevel>,
    pub audience: Option<LinkAudience>,
    pub expiry: Option<LinkExpiry>,
    pub password: Option<LinkPassword>,
}

Settings that apply to a link.

Fields

access_level: Option<AccessLevel>

The access level on the link for this file. Currently, it only accepts 'viewer' and 'viewer_no_comment'.

audience: Option<LinkAudience>

The type of audience on the link for this file.

expiry: Option<LinkExpiry>

An expiry timestamp to set on a link.

password: Option<LinkPassword>

The password for the link.

Trait Implementations

impl Default for LinkSettings[src]

impl Debug for LinkSettings[src]

impl Serialize for LinkSettings[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> Typeable for T where
    T: Any

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