[][src]Struct dropbox_sdk::sharing::GetFileMetadataArg

pub struct GetFileMetadataArg {
    pub file: PathOrId,
    pub actions: Option<Vec<FileAction>>,
}
This is supported on crate feature dbx_sharing only.

Arguments of get_file_metadata().

Fields

file: PathOrId

The file to query.

actions: Option<Vec<FileAction>>

A list of FileActions corresponding to FilePermissions that should appear in the response's SharedFileMetadata::permissions field describing the actions the authenticated user can perform on the file.

Implementations

impl GetFileMetadataArg[src]

pub fn new(file: PathOrId) -> Self[src]

pub fn with_actions(self, value: Option<Vec<FileAction>>) -> Self[src]

Trait Implementations

impl Debug for GetFileMetadataArg[src]

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

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