pub struct FetchResponseV16 {
pub throttle_time_ms: i32,
pub error_code: i16,
pub session_id: i32,
pub responses: Vec<FetchTopicResponseV16>,
pub node_endpoints: Vec<FetchNodeEndpointV16>,
}Expand description
Fetch response version 16, including KIP-951 node endpoints.
Fields§
§throttle_time_ms: i32§error_code: i16§session_id: i32§responses: Vec<FetchTopicResponseV16>§node_endpoints: Vec<FetchNodeEndpointV16>Implementations§
Source§impl FetchResponseV16
impl FetchResponseV16
pub fn decode_body(decoder: &mut Decoder<'_>) -> Result<Self>
Trait Implementations§
Source§impl Clone for FetchResponseV16
impl Clone for FetchResponseV16
Source§fn clone(&self) -> FetchResponseV16
fn clone(&self) -> FetchResponseV16
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 FetchResponseV16
impl Debug for FetchResponseV16
impl Eq for FetchResponseV16
Source§impl PartialEq for FetchResponseV16
impl PartialEq for FetchResponseV16
impl StructuralPartialEq for FetchResponseV16
Auto Trait Implementations§
impl Freeze for FetchResponseV16
impl RefUnwindSafe for FetchResponseV16
impl Send for FetchResponseV16
impl Sync for FetchResponseV16
impl Unpin for FetchResponseV16
impl UnsafeUnpin for FetchResponseV16
impl UnwindSafe for FetchResponseV16
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