Struct samsa::prelude::protocol::delete_topics::response::DeleteTopicsResponse
source · pub struct DeleteTopicsResponse {
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::DeleteTopicsResponse::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 delete.
Implementations§
Trait Implementations§
source§impl Debug for DeleteTopicsResponse
impl Debug for DeleteTopicsResponse
source§impl PartialEq for DeleteTopicsResponse
impl PartialEq for DeleteTopicsResponse
source§fn eq(&self, other: &DeleteTopicsResponse) -> bool
fn eq(&self, other: &DeleteTopicsResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Bytes> for DeleteTopicsResponse
impl TryFrom<Bytes> for DeleteTopicsResponse
impl StructuralPartialEq for DeleteTopicsResponse
Auto Trait Implementations§
impl Freeze for DeleteTopicsResponse
impl RefUnwindSafe for DeleteTopicsResponse
impl Send for DeleteTopicsResponse
impl Sync for DeleteTopicsResponse
impl Unpin for DeleteTopicsResponse
impl UnwindSafe for DeleteTopicsResponse
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