pub enum GeneratedFileType {
Pdf,
CoverPage,
SmallThumbnail,
LargeThumbnail,
TextContent,
HtmlContent,
Metadata,
}Variants§
Conversion to PDF file
CoverPage
Full sized cover page render
SmallThumbnail
Small file sized thumbnail image
LargeThumbnail
Larger thumbnail image, for a small preview tooltip
TextContent
Text content extracted from the file
HtmlContent
HTML content extracted from things like emails
Metadata
JSON encoded metadata for the file (Used by emails to store the email metadata in an accessible ways)
Trait Implementations§
Source§impl Clone for GeneratedFileType
impl Clone for GeneratedFileType
Source§fn clone(&self) -> GeneratedFileType
fn clone(&self) -> GeneratedFileType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for GeneratedFileType
impl ComposeSchema for GeneratedFileType
Source§impl Debug for GeneratedFileType
impl Debug for GeneratedFileType
Source§impl<'de> Deserialize<'de> for GeneratedFileType
impl<'de> Deserialize<'de> for GeneratedFileType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for GeneratedFileType
impl Display for GeneratedFileType
Source§impl FromStr for GeneratedFileType
impl FromStr for GeneratedFileType
Source§impl Serialize for GeneratedFileType
impl Serialize for GeneratedFileType
Source§impl ToSchema for GeneratedFileType
impl ToSchema for GeneratedFileType
Source§impl TryFrom<&str> for GeneratedFileType
impl TryFrom<&str> for GeneratedFileType
Source§impl TryFrom<String> for GeneratedFileType
impl TryFrom<String> for GeneratedFileType
impl Copy for GeneratedFileType
Auto Trait Implementations§
impl Freeze for GeneratedFileType
impl RefUnwindSafe for GeneratedFileType
impl Send for GeneratedFileType
impl Sync for GeneratedFileType
impl Unpin for GeneratedFileType
impl UnwindSafe for GeneratedFileType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.