pub struct FetchOk {
pub request_id: VarInt,
pub end_of_track: u8,
pub end_group: VarInt,
pub end_object: VarInt,
pub parameters: Vec<KeyValuePair>,
}Fields§
§request_id: VarInt§end_of_track: u8Whether the end of the track has been reached.
Held as a raw byte rather than an enum: the draft describes 1 and 0 and says nothing about any other value, where it does call an out-of-range Group Order or Content Exists a protocol error. Refusing a 2 here would be this codec’s rule and not the draft’s.
end_group: VarInt§end_object: VarInt§parameters: Vec<KeyValuePair>Trait Implementations§
impl Eq for FetchOk
impl StructuralPartialEq for FetchOk
Auto Trait Implementations§
impl Freeze for FetchOk
impl RefUnwindSafe for FetchOk
impl Send for FetchOk
impl Sync for FetchOk
impl Unpin for FetchOk
impl UnsafeUnpin for FetchOk
impl UnwindSafe for FetchOk
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