Struct dropbox_sdk::sharing::GetFileMetadataBatchArg [−][src]
#[non_exhaustive]pub struct GetFileMetadataBatchArg { pub files: Vec<PathOrId>, pub actions: Option<Vec<FileAction>>, }
dbx_sharing only.Arguments of get_file_metadata_batch().
Fields (Non-exhaustive)
Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.files: Vec<PathOrId>The files 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 GetFileMetadataBatchArg[src]
impl GetFileMetadataBatchArg[src]pub fn new(files: Vec<PathOrId>) -> Self[src]
pub fn with_actions(self, value: Vec<FileAction>) -> Self[src]
Trait Implementations
impl Clone for GetFileMetadataBatchArg[src]
impl Clone for GetFileMetadataBatchArg[src]fn clone(&self) -> GetFileMetadataBatchArg[src]
fn clone(&self) -> GetFileMetadataBatchArg[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for GetFileMetadataBatchArg[src]
impl Debug for GetFileMetadataBatchArg[src]impl<'de> Deserialize<'de> for GetFileMetadataBatchArg[src]
impl<'de> Deserialize<'de> for GetFileMetadataBatchArg[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<GetFileMetadataBatchArg> for GetFileMetadataBatchArg[src]
impl PartialEq<GetFileMetadataBatchArg> for GetFileMetadataBatchArg[src]fn eq(&self, other: &GetFileMetadataBatchArg) -> bool[src]
fn eq(&self, other: &GetFileMetadataBatchArg) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &GetFileMetadataBatchArg) -> bool[src]
fn ne(&self, other: &GetFileMetadataBatchArg) -> bool[src]This method tests for !=.
impl Serialize for GetFileMetadataBatchArg[src]
impl Serialize for GetFileMetadataBatchArg[src]impl StructuralPartialEq for GetFileMetadataBatchArg[src]
Auto Trait Implementations
impl RefUnwindSafe for GetFileMetadataBatchArg
impl Send for GetFileMetadataBatchArg
impl Sync for GetFileMetadataBatchArg
impl Unpin for GetFileMetadataBatchArg
impl UnwindSafe for GetFileMetadataBatchArg
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,