pub struct Fetch {Show 13 fields
pub subscribe_id: VarInt,
pub subscriber_priority: u8,
pub group_order: GroupOrder,
pub fetch_type: FetchType,
pub track_namespace: Option<TrackNamespace>,
pub track_name: Option<Vec<u8>>,
pub start_group: Option<VarInt>,
pub start_object: Option<VarInt>,
pub end_group: Option<VarInt>,
pub end_object: Option<VarInt>,
pub joining_subscribe_id: Option<VarInt>,
pub preceding_group_offset: Option<VarInt>,
pub parameters: Vec<KeyValuePair>,
}Expand description
FETCH message (type 0x16).
Draft-08: has fetch_type (standalone vs joining).
Fields§
§subscribe_id: VarIntThe subscribe ID for this fetch request.
subscriber_priority: u8The priority of this subscriber relative to others.
group_order: GroupOrderThe requested group delivery order.
fetch_type: FetchTypeThe fetch type (standalone or joining).
track_namespace: Option<TrackNamespace>Track namespace (standalone only).
track_name: Option<Vec<u8>>Track name (standalone only).
start_group: Option<VarInt>Start group (standalone only).
start_object: Option<VarInt>Start object (standalone only).
end_group: Option<VarInt>End group (standalone only).
end_object: Option<VarInt>End object (standalone only).
joining_subscribe_id: Option<VarInt>Joining subscribe ID (joining only).
preceding_group_offset: Option<VarInt>Preceding group offset (joining only).
parameters: Vec<KeyValuePair>Fetch parameters.
Trait Implementations§
impl Eq for Fetch
impl StructuralPartialEq for Fetch
Auto Trait Implementations§
impl Freeze for Fetch
impl RefUnwindSafe for Fetch
impl Send for Fetch
impl Sync for Fetch
impl Unpin for Fetch
impl UnsafeUnpin for Fetch
impl UnwindSafe for Fetch
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