[][src]Struct dropbox_sdk::cloud_docs::UserPermissions

pub struct UserPermissions {
    pub can_edit: bool,
    pub can_rename: bool,
    pub can_comment: bool,
    pub can_download: bool,
}

Fields

can_edit: bool

true if the user can edit the content of this document

can_rename: bool

true if the user can edit the title of this document

can_comment: bool

true if the user can comment on this document

can_download: bool

true if the user can download the contents of this document. currently always true if the user has view access to the document.

Trait Implementations

impl Debug for UserPermissions[src]

impl Default for UserPermissions[src]

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

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

impl<T> Typeable for T where
    T: Any