pub struct SubgroupObject {
pub object_id: VarInt,
pub extension_headers: Vec<u8>,
pub payload_length: VarInt,
pub object_status: Option<VarInt>,
pub payload: Vec<u8>,
}Expand description
One object within a draft-16 subgroup stream with its Object ID
already resolved from the delta encoding. See
SubgroupObjectReader for stateful encode/decode.
Fields§
§object_id: VarInt§extension_headers: Vec<u8>§payload_length: VarInt§object_status: Option<VarInt>§payload: Vec<u8>Trait Implementations§
Source§impl Clone for SubgroupObject
impl Clone for SubgroupObject
Source§fn clone(&self) -> SubgroupObject
fn clone(&self) -> SubgroupObject
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 SubgroupObject
impl Debug for SubgroupObject
Source§impl PartialEq for SubgroupObject
impl PartialEq for SubgroupObject
impl Eq for SubgroupObject
impl StructuralPartialEq for SubgroupObject
Auto Trait Implementations§
impl Freeze for SubgroupObject
impl RefUnwindSafe for SubgroupObject
impl Send for SubgroupObject
impl Sync for SubgroupObject
impl Unpin for SubgroupObject
impl UnsafeUnpin for SubgroupObject
impl UnwindSafe for SubgroupObject
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