Struct fluvio_spu_schema::fetch::FetchResponse
source · pub struct FetchResponse<R> {
pub throttle_time_ms: i32,
pub error_code: ErrorCode,
pub session_id: i32,
pub topics: Vec<FetchableTopicResponse<R>>,
}
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: ErrorCode
§session_id: i32
§topics: Vec<FetchableTopicResponse<R>>
The response topics.
Implementations§
source§impl<R> FetchResponse<R>
impl<R> FetchResponse<R>
pub fn find_partition( self, topic: &str, partition: u32 ) -> Option<FetchablePartitionResponse<R>>
source§impl<R> FetchResponse<R>
impl<R> FetchResponse<R>
pub fn find_topic(&self, topic: &str) -> Option<&FetchableTopicResponse<R>>where R: Debug,
Trait Implementations§
source§impl<R: Debug> Debug for FetchResponse<R>
impl<R: Debug> Debug for FetchResponse<R>
source§impl<R: Decoder> Decoder for FetchResponse<R>
impl<R: Decoder> Decoder for FetchResponse<R>
source§impl<R: Default> Default for FetchResponse<R>
impl<R: Default> Default for FetchResponse<R>
source§impl<R: Encoder> Encoder for FetchResponse<R>
impl<R: Encoder> Encoder for FetchResponse<R>
Auto Trait Implementations§
impl<R> RefUnwindSafe for FetchResponse<R>where R: RefUnwindSafe,
impl<R> Send for FetchResponse<R>where R: Send,
impl<R> Sync for FetchResponse<R>where R: Sync,
impl<R> Unpin for FetchResponse<R>where R: Unpin,
impl<R> UnwindSafe for FetchResponse<R>where R: UnwindSafe,
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