Struct kafka_api::fetch_response::FetchResponse
source · 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 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