pub struct AnyFetchObjectMeta {
pub group_id: u64,
pub subgroup_id: u64,
pub has_subgroup_id: bool,
pub object_id: u64,
pub publisher_priority: u8,
pub payload_length: u64,
pub status: Option<u64>,
pub end_of_range: Option<AnyFetchEndOfRange>,
pub extension_headers_len: u64,
pub wire_len: u64,
}Expand description
The framing of one fetch frame, without its payload.
Every field carries the meaning it does on AnyFetchObject.
Fields§
§group_id: u64Absolute Group ID.
subgroup_id: u64Absolute Subgroup ID. Meaningless when has_subgroup_id is false.
has_subgroup_id: boolWhether this frame has a Subgroup ID at all; see
AnyFetchObject::has_subgroup_id.
object_id: u64Absolute Object ID.
publisher_priority: u8Publisher Priority in force for this frame; see
AnyFetchObject::publisher_priority.
payload_length: u64Declared payload length in bytes.
status: Option<u64>Object Status wire code; always None on drafts 16-20.
end_of_range: Option<AnyFetchEndOfRange>Which End of Range indicator this frame is, or None for an object.
extension_headers_len: u64Byte length of the extension block’s contents, excluding its prefix.
wire_len: u64Total bytes this object occupies on the wire.
Trait Implementations§
Source§impl Clone for AnyFetchObjectMeta
impl Clone for AnyFetchObjectMeta
Source§fn clone(&self) -> AnyFetchObjectMeta
fn clone(&self) -> AnyFetchObjectMeta
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 moreimpl Copy for AnyFetchObjectMeta
Source§impl Debug for AnyFetchObjectMeta
impl Debug for AnyFetchObjectMeta
impl Eq for AnyFetchObjectMeta
Source§impl PartialEq for AnyFetchObjectMeta
impl PartialEq for AnyFetchObjectMeta
impl StructuralPartialEq for AnyFetchObjectMeta
Auto Trait Implementations§
impl Freeze for AnyFetchObjectMeta
impl RefUnwindSafe for AnyFetchObjectMeta
impl Send for AnyFetchObjectMeta
impl Sync for AnyFetchObjectMeta
impl Unpin for AnyFetchObjectMeta
impl UnsafeUnpin for AnyFetchObjectMeta
impl UnwindSafe for AnyFetchObjectMeta
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