Struct samsa::prelude::protocol::CreateTopicsResponse
source · pub struct CreateTopicsResponse {
pub header: HeaderResponse,
pub throttle_time_ms: i32,
pub topics: Vec<Topic>,
}
Expand description
The base Offset Commit response object.
§Example
let response_bytes = coordinator_conn.receive_response().await?;
let offset_response = protocol::CreateTopicsResponse::try_from(response_bytes.freeze())?;
Fields§
§header: HeaderResponse
§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.
topics: Vec<Topic>
Results for each topic we tried to create.
Implementations§
Trait Implementations§
source§impl Debug for CreateTopicsResponse
impl Debug for CreateTopicsResponse
source§impl PartialEq for CreateTopicsResponse
impl PartialEq for CreateTopicsResponse
source§fn eq(&self, other: &CreateTopicsResponse) -> bool
fn eq(&self, other: &CreateTopicsResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Bytes> for CreateTopicsResponse
impl TryFrom<Bytes> for CreateTopicsResponse
impl StructuralPartialEq for CreateTopicsResponse
Auto Trait Implementations§
impl Freeze for CreateTopicsResponse
impl RefUnwindSafe for CreateTopicsResponse
impl Send for CreateTopicsResponse
impl Sync for CreateTopicsResponse
impl Unpin for CreateTopicsResponse
impl UnwindSafe for CreateTopicsResponse
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