[−][src]Struct dropbox_sdk::files::PreviewResult
This is supported on crate feature
dbx_files only.Fields
file_metadata: Option<FileMetadata>Metadata corresponding to the file received as an argument. Will be populated if the endpoint is called with a path (ReadPath).
link_metadata: Option<MinimalFileLinkMetadata>Minimal metadata corresponding to the file received as an argument. Will be populated if the endpoint is called using a shared link (SharedLinkFileInfo).
Implementations
impl PreviewResult[src]
pub fn with_file_metadata(self, value: FileMetadata) -> Self[src]
pub fn with_link_metadata(self, value: MinimalFileLinkMetadata) -> Self[src]
Trait Implementations
impl Debug for PreviewResult[src]
impl Default for PreviewResult[src]
impl<'de> Deserialize<'de> for PreviewResult[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
impl Serialize for PreviewResult[src]
Auto Trait Implementations
impl RefUnwindSafe for PreviewResult
impl Send for PreviewResult
impl Sync for PreviewResult
impl Unpin for PreviewResult
impl UnwindSafe for PreviewResult
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,