pub struct FetchResponse {
pub throttle_time_ms: i32,
pub error_code: i16,
pub session_id: i32,
pub responses: Vec<FetchableTopicResponse>,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}
Fields§
§throttle_time_ms: i32
The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota.
error_code: i16
The top level response error code.
session_id: i32
The fetch session ID, or 0 if this is not part of a fetch session.
responses: Vec<FetchableTopicResponse>
The response topics.
unknown_tagged_fields: Vec<RawTaggedField>
Unknown tagged fields.
Trait Implementations§
Source§impl Clone for FetchResponse
impl Clone for FetchResponse
Source§fn clone(&self) -> FetchResponse
fn clone(&self) -> FetchResponse
Returns a copy 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 FetchResponse
impl Debug for FetchResponse
Source§impl Default for FetchResponse
impl Default for FetchResponse
Source§fn default() -> FetchResponse
fn default() -> FetchResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FetchResponse
impl RefUnwindSafe for FetchResponse
impl Send for FetchResponse
impl Sync for FetchResponse
impl Unpin for FetchResponse
impl UnwindSafe for FetchResponse
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