[][src]Struct libsip::registration::Config

pub struct Config {
    pub content_length: bool,
    pub expires_header: Option<u32>,
    pub user_agent: Option<String>,
    pub user: Option<String>,
    pub pass: Option<String>,
    // some fields omitted
}

Fields

content_length: bool

Whether to append the Content-Length header default: true

expires_header: Option<u32>

The value to use for the Expiration header default: 60

user_agent: Option<String>

The value to set for the user_agent header, default: libsip env!('CARGO_PKG_VERSION')

user: Option<String>

The username to use for login.

pass: Option<String>

The password to use for login.

Trait Implementations

impl Default for Config[src]

impl Clone for Config[src]

impl PartialEq<Config> for Config[src]

impl Debug for Config[src]

Auto Trait Implementations

impl Send for Config

impl Unpin for Config

impl Sync for Config

impl UnwindSafe for Config

impl RefUnwindSafe for Config

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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