pub struct CreateTopicSpec {
pub name: String,
pub partitions: i32,
pub replicas: i32,
pub configs: BTreeMap<String, String>,
}Fields§
§name: String§partitions: i32§replicas: i32§configs: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for CreateTopicSpec
impl Clone for CreateTopicSpec
Source§fn clone(&self) -> CreateTopicSpec
fn clone(&self) -> CreateTopicSpec
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 moreAuto Trait Implementations§
impl Freeze for CreateTopicSpec
impl RefUnwindSafe for CreateTopicSpec
impl Send for CreateTopicSpec
impl Sync for CreateTopicSpec
impl Unpin for CreateTopicSpec
impl UnsafeUnpin for CreateTopicSpec
impl UnwindSafe for CreateTopicSpec
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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