pub struct TopicPartitions {
pub partition_count: Option<i64>,
}Expand description
Response for GetTopicPartitions.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§partition_count: Option<i64>The number of partitions in the topic.
Trait Implementations§
Source§impl Clone for TopicPartitions
impl Clone for TopicPartitions
Source§fn clone(&self) -> TopicPartitions
fn clone(&self) -> TopicPartitions
Returns a duplicate 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 TopicPartitions
impl Debug for TopicPartitions
Source§impl Default for TopicPartitions
impl Default for TopicPartitions
Source§fn default() -> TopicPartitions
fn default() -> TopicPartitions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TopicPartitions
impl<'de> Deserialize<'de> for TopicPartitions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TopicPartitions
impl Serialize for TopicPartitions
impl ResponseResult for TopicPartitions
Auto Trait Implementations§
impl Freeze for TopicPartitions
impl RefUnwindSafe for TopicPartitions
impl Send for TopicPartitions
impl Sync for TopicPartitions
impl Unpin for TopicPartitions
impl UnwindSafe for TopicPartitions
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