pub struct BodyFragment {
pub index: u32,
pub bytes: ByteString,
}Expand description
One body fragment exposed by structured show.
Fields§
§index: u32§bytes: ByteStringTrait Implementations§
Source§impl Clone for BodyFragment
impl Clone for BodyFragment
Source§fn clone(&self) -> BodyFragment
fn clone(&self) -> BodyFragment
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 BodyFragment
impl Debug for BodyFragment
Source§impl<'de> Deserialize<'de> for BodyFragment
impl<'de> Deserialize<'de> for BodyFragment
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
impl Eq for BodyFragment
Source§impl PartialEq for BodyFragment
impl PartialEq for BodyFragment
Source§impl Serialize for BodyFragment
impl Serialize for BodyFragment
impl StructuralPartialEq for BodyFragment
Auto Trait Implementations§
impl Freeze for BodyFragment
impl RefUnwindSafe for BodyFragment
impl Send for BodyFragment
impl Sync for BodyFragment
impl Unpin for BodyFragment
impl UnsafeUnpin for BodyFragment
impl UnwindSafe for BodyFragment
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