pub struct BytesEnvelope {
pub content: String,
pub content_type: BytesEncoding,
}Fields§
§content: String§content_type: BytesEncodingImplementations§
Trait Implementations§
Source§impl Clone for BytesEnvelope
impl Clone for BytesEnvelope
Source§fn clone(&self) -> BytesEnvelope
fn clone(&self) -> BytesEnvelope
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 BytesEnvelope
impl Debug for BytesEnvelope
Source§impl<'de> Deserialize<'de> for BytesEnvelope
impl<'de> Deserialize<'de> for BytesEnvelope
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 From<BytesEnvelope> for Vec<u8>
impl From<BytesEnvelope> for Vec<u8>
Source§fn from(envelope: BytesEnvelope) -> Self
fn from(envelope: BytesEnvelope) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BytesEnvelope
impl RefUnwindSafe for BytesEnvelope
impl Send for BytesEnvelope
impl Sync for BytesEnvelope
impl Unpin for BytesEnvelope
impl UnsafeUnpin for BytesEnvelope
impl UnwindSafe for BytesEnvelope
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