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