[][src]Enum libsip::headers::Header

pub enum Header {
    To(NamedHeader),
    Contact(NamedHeader),
    From(NamedHeader),
    ReplyTo(NamedHeader),
    CSeq(u32Method),
    MaxForwards(u32),
    Expires(u32),
    Accept(Vec<Method>),
    ContentLength(u32),
    Allow(Vec<Method>),
    UserAgent(String),
    CallId(String),
    ContentType(ContentType),
    ContentLanguage(Language),
    ContentEncoding(ContentType),
    AcceptLanguage(Language),
    AcceptEncoding(ContentType),
    AlertInfo(String),
    ErrorInfo(String),
    AuthenticationInfo(String),
    Authorization(AuthHeader),
    CallInfo(String),
    InReplyTo(String),
    ContentDisposition(String),
    Date(String),
    MinExpires(u32),
    MimeVersion(f32),
    Organization(String),
    ProxyAuthenticate(String),
    ProxyAuthorization(String),
    ProxyRequire(String),
    Require(String),
    RetryAfter(String),
    Route(String),
    Subject(String),
    RecordRoute(String),
    Server(String),
    Supported(Vec<String>),
    Timestamp(u32),
    Unsupported(String),
    Warning(String),
    Via(ViaHeader),
    Priority(String),
    WwwAuthenticate(AuthHeader),
    Other(StringString),
}

Variants

Contact(NamedHeader)
ReplyTo(NamedHeader)
CSeq(u32Method)
MaxForwards(u32)
Expires(u32)
Accept(Vec<Method>)
ContentLength(u32)
Allow(Vec<Method>)
UserAgent(String)
CallId(String)
ContentType(ContentType)
ContentLanguage(Language)
ContentEncoding(ContentType)
AcceptLanguage(Language)
AcceptEncoding(ContentType)
AlertInfo(String)
ErrorInfo(String)
AuthenticationInfo(String)
Authorization(AuthHeader)
CallInfo(String)
InReplyTo(String)
ContentDisposition(String)
Date(String)
MinExpires(u32)
MimeVersion(f32)
Organization(String)
ProxyAuthenticate(String)
ProxyAuthorization(String)
ProxyRequire(String)
Require(String)
RetryAfter(String)
Route(String)
Subject(String)
RecordRoute(String)
Server(String)
Supported(Vec<String>)
Timestamp(u32)
Unsupported(String)
Warning(String)
Priority(String)
WwwAuthenticate(AuthHeader)
Other(StringString)

Trait Implementations

impl Clone for Header[src]

impl PartialEq<Header> for Header[src]

impl Debug for Header[src]

impl Display for Header[src]

Auto Trait Implementations

impl Send for Header

impl Unpin for Header

impl Sync for Header

impl UnwindSafe for Header

impl RefUnwindSafe for Header

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> ToString for T where
    T: Display + ?Sized
[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]