pub struct SupportedFormat {
pub name: String,
pub mime: String,
}
Fields§
§name: String
Name of the file format
mime: String
Mime type of the format
Trait Implementations§
Source§impl Debug for SupportedFormat
impl Debug for SupportedFormat
Source§impl<'de> Deserialize<'de> for SupportedFormat
impl<'de> Deserialize<'de> for SupportedFormat
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
Auto Trait Implementations§
impl Freeze for SupportedFormat
impl RefUnwindSafe for SupportedFormat
impl Send for SupportedFormat
impl Sync for SupportedFormat
impl Unpin for SupportedFormat
impl UnwindSafe for SupportedFormat
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