pub struct CreatePartitionsRequest {
pub topics: Vec<CreatePartitionsTopic>,
pub timeout_ms: i32,
pub validate_only: bool,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§topics: Vec<CreatePartitionsTopic>§timeout_ms: i32§validate_only: bool§unknown_tagged_fields: UnknownTaggedFieldsTrait Implementations§
Source§impl Clone for CreatePartitionsRequest
impl Clone for CreatePartitionsRequest
Source§impl Debug for CreatePartitionsRequest
impl Debug for CreatePartitionsRequest
Source§impl Decode<'_> for CreatePartitionsRequest
impl Decode<'_> for CreatePartitionsRequest
Source§impl Default for CreatePartitionsRequest
impl Default for CreatePartitionsRequest
Source§impl Encode for CreatePartitionsRequest
impl Encode for CreatePartitionsRequest
impl Eq for CreatePartitionsRequest
Source§impl PartialEq for CreatePartitionsRequest
impl PartialEq for CreatePartitionsRequest
Source§impl ProtocolRequest for CreatePartitionsRequest
impl ProtocolRequest for CreatePartitionsRequest
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 can encode and decode. Read more
Source§const LATEST_STABLE_VERSION: i16 = LATEST_STABLE_VERSION
const LATEST_STABLE_VERSION: i16 = LATEST_STABLE_VERSION
Highest protocol version that a client can send. Read more
Source§const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
First version that uses flexible framing from KIP-482.
This is
i16::MAX for never-flexible messages.Source§type Response = CreatePartitionsResponse
type Response = CreatePartitionsResponse
Matching response type from
krabka-protocol.impl StructuralPartialEq for CreatePartitionsRequest
Auto Trait Implementations§
impl Freeze for CreatePartitionsRequest
impl RefUnwindSafe for CreatePartitionsRequest
impl Send for CreatePartitionsRequest
impl Sync for CreatePartitionsRequest
impl Unpin for CreatePartitionsRequest
impl UnsafeUnpin for CreatePartitionsRequest
impl UnwindSafe for CreatePartitionsRequest
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