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

pub struct CommandConnect {
    pub client_version: String,
    pub auth_method: Option<i32>,
    pub auth_method_name: Option<String>,
    pub auth_data: Option<Vec<u8>>,
    pub protocol_version: Option<i32>,
    pub proxy_to_broker_url: Option<String>,
    pub original_principal: Option<String>,
    pub original_auth_data: Option<String>,
    pub original_auth_method: Option<String>,
}

Fields

client_version: Stringauth_method: Option<i32>

Deprecated. Use "auth_method_name" instead.

auth_method_name: Option<String>auth_data: Option<Vec<u8>>protocol_version: Option<i32>proxy_to_broker_url: Option<String>

Client can ask to be proxyied to a specific broker This is only honored by a Pulsar proxy

original_principal: Option<String>

Original principal that was verified by a Pulsar proxy. In this case the auth info above will be the auth of the proxy itself

original_auth_data: Option<String>

Original auth role and auth Method that was passed to the proxy. In this case the auth info above will be the auth of the proxy itself

original_auth_method: Option<String>

Methods

impl CommandConnect[src]

pub fn auth_method(&self) -> AuthMethod[src]

pub fn set_auth_method(&mut self, value: AuthMethod)[src]

pub fn auth_data(&self) -> &[u8][src]

pub fn protocol_version(&self) -> i32[src]

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

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

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

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

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

Trait Implementations

impl Clone for CommandConnect[src]

impl Debug for CommandConnect[src]

impl Default for CommandConnect[src]

impl Message for CommandConnect[src]

impl PartialEq<CommandConnect> for CommandConnect[src]

impl StructuralPartialEq for CommandConnect[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>,