pub struct Base64 {
pub filename: Option<String>,
pub media_type: Option<String>,
pub value: String,
}
Expand description
A resource encoded using the Base64 alphabet defined by RFC 2045.
Fields§
§filename: Option<String>
Name of the file before it was encoded as Base64 to be embedded in a resource. This is the name that will be assigned to the file when the file is decoded.
media_type: Option<String>
A label that indicates the nature of a resource, as a data serialization or format.
value: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Base64
impl<'de> Deserialize<'de> for Base64
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 Base64
impl RefUnwindSafe for Base64
impl Send for Base64
impl Sync for Base64
impl Unpin for Base64
impl UnwindSafe for Base64
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