pub struct CreateTopicsRequest {
pub topics: Vec<CreatableTopic>,
pub timeout_ms: i32,
pub validate_only: bool,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§topics: Vec<CreatableTopic>§timeout_ms: i32§validate_only: bool§unknown_tagged_fields: UnknownTaggedFieldsTrait Implementations§
Source§impl Clone for CreateTopicsRequest
impl Clone for CreateTopicsRequest
Source§fn clone(&self) -> CreateTopicsRequest
fn clone(&self) -> CreateTopicsRequest
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 CreateTopicsRequest
impl Debug for CreateTopicsRequest
Source§impl Decode<'_> for CreateTopicsRequest
impl Decode<'_> for CreateTopicsRequest
Source§impl Default for CreateTopicsRequest
impl Default for CreateTopicsRequest
Source§impl Encode for CreateTopicsRequest
impl Encode for CreateTopicsRequest
impl Eq for CreateTopicsRequest
Source§impl PartialEq for CreateTopicsRequest
impl PartialEq for CreateTopicsRequest
Source§fn eq(&self, other: &CreateTopicsRequest) -> bool
fn eq(&self, other: &CreateTopicsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ProtocolRequest for CreateTopicsRequest
impl ProtocolRequest for CreateTopicsRequest
Source§const MIN_VERSION: i16 = MIN_VERSION
const MIN_VERSION: i16 = MIN_VERSION
Minimum protocol version this Rust type supports.
Source§const MAX_VERSION: i16 = MAX_VERSION
const MAX_VERSION: i16 = MAX_VERSION
Maximum protocol version this Rust type supports.
Source§const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
First version that uses flexible (KIP-482) framing.
i16::MAX for never-flexible messages.Source§type Response = CreateTopicsResponse
type Response = CreateTopicsResponse
Matching response type from
crabka-protocol.impl StructuralPartialEq for CreateTopicsRequest
Auto Trait Implementations§
impl Freeze for CreateTopicsRequest
impl RefUnwindSafe for CreateTopicsRequest
impl Send for CreateTopicsRequest
impl Sync for CreateTopicsRequest
impl Unpin for CreateTopicsRequest
impl UnsafeUnpin for CreateTopicsRequest
impl UnwindSafe for CreateTopicsRequest
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