pub struct DeleteTopicsResult { /* private fields */ }Expand description
Complete response from one DeleteTopics operation.
Implementations§
Source§impl DeleteTopicsResult
impl DeleteTopicsResult
Sourcepub fn throttle_time(&self) -> Duration
pub fn throttle_time(&self) -> Duration
Returns the broker throttle time.
Sourcepub fn topics(&self) -> &[DeleteTopicResult]
pub fn topics(&self) -> &[DeleteTopicResult]
Returns per-topic outcomes in broker response order.
Sourcepub fn into_topics(self) -> Vec<DeleteTopicResult>
pub fn into_topics(self) -> Vec<DeleteTopicResult>
Consumes this response and returns per-topic outcomes.
Sourcepub fn has_errors(&self) -> bool
pub fn has_errors(&self) -> bool
Returns whether at least one topic deletion was rejected.
Trait Implementations§
Source§impl Clone for DeleteTopicsResult
impl Clone for DeleteTopicsResult
Source§fn clone(&self) -> DeleteTopicsResult
fn clone(&self) -> DeleteTopicsResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeleteTopicsResult
impl Debug for DeleteTopicsResult
impl Eq for DeleteTopicsResult
Source§impl PartialEq for DeleteTopicsResult
impl PartialEq for DeleteTopicsResult
impl StructuralPartialEq for DeleteTopicsResult
Auto Trait Implementations§
impl Freeze for DeleteTopicsResult
impl RefUnwindSafe for DeleteTopicsResult
impl Send for DeleteTopicsResult
impl Sync for DeleteTopicsResult
impl Unpin for DeleteTopicsResult
impl UnsafeUnpin for DeleteTopicsResult
impl UnwindSafe for DeleteTopicsResult
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