pub struct InlineData {
pub mime_type: String,
pub data: String,
}
Expand description
Inline media bytes (stored as a base64 string for some reason) //todo
Fields§
§mime_type: String
§data: String
Trait Implementations§
Source§impl Clone for InlineData
impl Clone for InlineData
Source§fn clone(&self) -> InlineData
fn clone(&self) -> InlineData
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 Debug for InlineData
impl Debug for InlineData
Source§impl<'de> Deserialize<'de> for InlineData
impl<'de> Deserialize<'de> for InlineData
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 InlineData
impl RefUnwindSafe for InlineData
impl Send for InlineData
impl Sync for InlineData
impl Unpin for InlineData
impl UnwindSafe for InlineData
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