Struct pulsar_binary_protocol_spec::protos::protobuf::PulsarApi::CommandAddPartitionToTxn[][src]

pub struct CommandAddPartitionToTxn {
    pub partitions: RepeatedField<String>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

partitions: RepeatedField<String>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CommandAddPartitionToTxn[src]

pub fn new() -> CommandAddPartitionToTxn[src]

pub fn get_request_id(&self) -> u64[src]

pub fn clear_request_id(&mut self)[src]

pub fn has_request_id(&self) -> bool[src]

pub fn set_request_id(&mut self, v: u64)[src]

pub fn get_txnid_least_bits(&self) -> u64[src]

pub fn clear_txnid_least_bits(&mut self)[src]

pub fn has_txnid_least_bits(&self) -> bool[src]

pub fn set_txnid_least_bits(&mut self, v: u64)[src]

pub fn get_txnid_most_bits(&self) -> u64[src]

pub fn clear_txnid_most_bits(&mut self)[src]

pub fn has_txnid_most_bits(&self) -> bool[src]

pub fn set_txnid_most_bits(&mut self, v: u64)[src]

pub fn get_partitions(&self) -> &[String][src]

pub fn clear_partitions(&mut self)[src]

pub fn set_partitions(&mut self, v: RepeatedField<String>)[src]

pub fn mut_partitions(&mut self) -> &mut RepeatedField<String>[src]

pub fn take_partitions(&mut self) -> RepeatedField<String>[src]

Trait Implementations

impl Clear for CommandAddPartitionToTxn[src]

impl Clone for CommandAddPartitionToTxn[src]

impl Debug for CommandAddPartitionToTxn[src]

impl Default for CommandAddPartitionToTxn[src]

impl<'a> Default for &'a CommandAddPartitionToTxn[src]

impl Message for CommandAddPartitionToTxn[src]

impl PartialEq<CommandAddPartitionToTxn> for CommandAddPartitionToTxn[src]

impl ProtobufValue for CommandAddPartitionToTxn[src]

impl StructuralPartialEq for CommandAddPartitionToTxn[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.