Enum dropbox_sdk::paper::ImportFormat [−][src]
#[non_exhaustive]
pub enum ImportFormat {
Html,
Markdown,
PlainText,
Other,
}This is supported on crate feature
dbx_paper only.Expand description
The import format of the incoming data.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The provided data is interpreted as standard HTML.
The provided data is interpreted as markdown. The first line of the provided document will be used as the doc title.
The provided data is interpreted as plain text. The first line of the provided document will be used as the doc title.
Catch-all used for unrecognized values returned from the server. Encountering this value typically indicates that this SDK version is out of date.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ImportFormatimpl Send for ImportFormatimpl Sync for ImportFormatimpl Unpin for ImportFormatimpl UnwindSafe for ImportFormatBlanket Implementations
Mutably borrows from an owned value. Read more