pub struct CreatableTopic {
pub name: String,
pub num_partitions: i32,
pub replication_factor: i16,
pub assignments: Vec<CreatableReplicaAssignment>,
pub configs: Vec<CreatableTopicConfig>,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§name: String§num_partitions: i32§replication_factor: i16§assignments: Vec<CreatableReplicaAssignment>§configs: Vec<CreatableTopicConfig>§unknown_tagged_fields: UnknownTaggedFieldsTrait Implementations§
Source§impl Clone for CreatableTopic
impl Clone for CreatableTopic
Source§fn clone(&self) -> CreatableTopic
fn clone(&self) -> CreatableTopic
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 CreatableTopic
impl Debug for CreatableTopic
Source§impl Decode<'_> for CreatableTopic
impl Decode<'_> for CreatableTopic
Source§impl Default for CreatableTopic
impl Default for CreatableTopic
Source§fn default() -> CreatableTopic
fn default() -> CreatableTopic
Returns the “default value” for a type. Read more
Source§impl Encode for CreatableTopic
impl Encode for CreatableTopic
impl Eq for CreatableTopic
Source§impl PartialEq for CreatableTopic
impl PartialEq for CreatableTopic
Source§fn eq(&self, other: &CreatableTopic) -> bool
fn eq(&self, other: &CreatableTopic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreatableTopic
Auto Trait Implementations§
impl Freeze for CreatableTopic
impl RefUnwindSafe for CreatableTopic
impl Send for CreatableTopic
impl Sync for CreatableTopic
impl Unpin for CreatableTopic
impl UnsafeUnpin for CreatableTopic
impl UnwindSafe for CreatableTopic
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