Struct tob::builder::ToBClientBuilder[][src]

pub struct ToBClientBuilder {
    pub url: String,
    pub protocol: Protocol,
    pub client_type: ClientType,
    pub username: Option<String>,
    pub password: Option<String>,
}

Fields

url: Stringprotocol: Protocolclient_type: ClientTypeusername: Option<String>password: Option<String>

Implementations

impl ToBClientBuilder[src]

pub fn new(url: &str) -> Self[src]

pub fn with_protocol<T: Into<Protocol>>(self, protocol: T) -> Self[src]

pub fn with_client_type(self, client_type: ClientType) -> Self[src]

pub fn with_username(self, username: &str) -> Self[src]

pub fn with_password(self, password: &str) -> Self[src]

pub fn build(self) -> Result<ToBClient>[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>, 

impl<T> WithSubscriber for T[src]