Struct pulsar_binary_protocol_spec::commands::producer_command::ProducerCommand [−][src]
Implementations
impl ProducerCommand
[src]
pub fn new(topic: &str) -> Self
[src]
pub fn set_producer_id(&mut self, producer_id: ProducerId) -> &mut Self
[src]
pub fn get_producer_id(&self) -> ProducerId
[src]
pub fn set_request_id(&mut self, request_id: RequestId) -> &mut Self
[src]
pub fn get_request_id(&self) -> RequestId
[src]
pub fn set_producer_name(&mut self, producer_name: &str) -> &mut Self
[src]
pub fn append_metadata(&mut self, metadata: &[(&str, &str)]) -> &mut Self
[src]
pub fn clear_metadata(&mut self) -> &mut Self
[src]
Trait Implementations
impl Clone for ProducerCommand
[src]
fn clone(&self) -> ProducerCommand
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ProducerCommand
[src]
impl From<&'_ ProducerCommand> for Command
[src]
fn from(c: &ProducerCommand) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProducerCommand
[src]
impl Send for ProducerCommand
[src]
impl Sync for ProducerCommand
[src]
impl Unpin for ProducerCommand
[src]
impl UnwindSafe for ProducerCommand
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,