pub struct UnspeakableContent {
pub marker: String,
pub encoding: Option<String>,
pub binary_ref: Option<String>,
}Expand description
Content that cannot be represented in text form.
Fields§
§marker: StringMarker string identifying the content type.
encoding: Option<String>Optional encoding description (e.g., “base64”, “hex”).
binary_ref: Option<String>Optional reference to binary data.
Trait Implementations§
Source§impl Clone for UnspeakableContent
impl Clone for UnspeakableContent
Source§fn clone(&self) -> UnspeakableContent
fn clone(&self) -> UnspeakableContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnspeakableContent
impl Debug for UnspeakableContent
Source§impl<'de> Deserialize<'de> for UnspeakableContent
impl<'de> Deserialize<'de> for UnspeakableContent
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 PartialEq for UnspeakableContent
impl PartialEq for UnspeakableContent
Source§impl Serialize for UnspeakableContent
impl Serialize for UnspeakableContent
impl StructuralPartialEq for UnspeakableContent
Auto Trait Implementations§
impl Freeze for UnspeakableContent
impl RefUnwindSafe for UnspeakableContent
impl Send for UnspeakableContent
impl Sync for UnspeakableContent
impl Unpin for UnspeakableContent
impl UnsafeUnpin for UnspeakableContent
impl UnwindSafe for UnspeakableContent
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