[][src]Struct pulsar::message::proto::CommandPartitionedTopicMetadata

pub struct CommandPartitionedTopicMetadata {
    pub topic: String,
    pub request_id: u64,
    pub original_principal: Option<String>,
    pub original_auth_data: Option<String>,
    pub original_auth_method: Option<String>,
}

Fields

topic: Stringrequest_id: u64original_principal: Option<String>

TODO - Remove original_principal, original_auth_data, original_auth_method Original principal that was verified by a Pulsar proxy.

original_auth_data: Option<String>

Original auth role and auth Method that was passed to the proxy.

original_auth_method: Option<String>

Implementations

impl CommandPartitionedTopicMetadata[src]

pub fn original_principal(&self) -> &str[src]

Returns the value of original_principal, or the default value if original_principal is unset.

pub fn original_auth_data(&self) -> &str[src]

Returns the value of original_auth_data, or the default value if original_auth_data is unset.

pub fn original_auth_method(&self) -> &str[src]

Returns the value of original_auth_method, or the default value if original_auth_method is unset.

Trait Implementations

impl Clone for CommandPartitionedTopicMetadata[src]

impl Debug for CommandPartitionedTopicMetadata[src]

impl Default for CommandPartitionedTopicMetadata[src]

impl Message for CommandPartitionedTopicMetadata[src]

impl PartialEq<CommandPartitionedTopicMetadata> for CommandPartitionedTopicMetadata[src]

impl StructuralPartialEq for CommandPartitionedTopicMetadata[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,