pub struct RawBody {
pub code: u16,
pub data: Vec<u8>,
}
Expand description
Represents an raw tag body
Fields§
§code: u16
Raw tag code
data: Vec<u8>
Raw tag body
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawBody
impl<'de> Deserialize<'de> for RawBody
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 Ord for RawBody
impl Ord for RawBody
Source§impl PartialOrd for RawBody
impl PartialOrd for RawBody
impl Eq for RawBody
impl StructuralPartialEq for RawBody
Auto Trait Implementations§
impl Freeze for RawBody
impl RefUnwindSafe for RawBody
impl Send for RawBody
impl Sync for RawBody
impl Unpin for RawBody
impl UnwindSafe for RawBody
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