pub enum Header {
Show 61 variants
Accept(Accept),
AcceptEncoding(AcceptEncoding),
AcceptLanguage(AcceptLanguage),
AlertInfo(AlertInfo),
Allow(Allow),
AuthenticationInfo(AuthenticationInfo),
Authorization(Authorization),
CSeq(CSeq),
CallId(CallId),
CallInfo(CallInfo),
Contact(Contact),
ContentDisposition(ContentDisposition),
ContentEncoding(ContentEncoding),
ContentLanguage(ContentLanguage),
ContentLength(ContentLength),
ContentType(ContentType),
Date(Date),
ErrorInfo(ErrorInfo),
Event(Event),
Expires(Expires),
From(From),
InReplyTo(InReplyTo),
MaxForwards(MaxForwards),
MimeVersion(MimeVersion),
MinExpires(MinExpires),
Organization(Organization),
Other(String, String),
Priority(Priority),
ProxyAuthenticate(ProxyAuthenticate),
ProxyAuthorization(ProxyAuthorization),
ProxyRequire(ProxyRequire),
RecordRoute(RecordRoute),
ReplyTo(ReplyTo),
Require(Require),
RetryAfter(RetryAfter),
Route(Route),
Server(Server),
Subject(Subject),
SubscriptionState(SubscriptionState),
Supported(Supported),
Timestamp(Timestamp),
To(To),
Unsupported(Unsupported),
UserAgent(UserAgent),
Via(Via),
Warning(Warning),
WwwAuthenticate(WwwAuthenticate),
Reason(Reason),
ReferTo(ReferTo),
ReferredBy(ReferredBy),
SessionExpires(SessionExpires),
MinSE(MinSE),
PAssertedIdentity(PAssertedIdentity),
PPreferredIdentity(PPreferredIdentity),
Replaces(Replaces),
RSeq(RSeq),
RAck(RAck),
Privacy(Privacy),
Path(Path),
Identity(Identity),
UserToUser(UserToUser),
}Variants§
Accept(Accept)
AcceptEncoding(AcceptEncoding)
AcceptLanguage(AcceptLanguage)
AlertInfo(AlertInfo)
Allow(Allow)
AuthenticationInfo(AuthenticationInfo)
Authorization(Authorization)
CSeq(CSeq)
CallId(CallId)
CallInfo(CallInfo)
Contact(Contact)
ContentDisposition(ContentDisposition)
ContentEncoding(ContentEncoding)
ContentLanguage(ContentLanguage)
ContentLength(ContentLength)
ContentType(ContentType)
Date(Date)
ErrorInfo(ErrorInfo)
Event(Event)
Expires(Expires)
From(From)
InReplyTo(InReplyTo)
MaxForwards(MaxForwards)
MimeVersion(MimeVersion)
MinExpires(MinExpires)
Organization(Organization)
Other(String, String)
Priority(Priority)
ProxyAuthenticate(ProxyAuthenticate)
ProxyAuthorization(ProxyAuthorization)
ProxyRequire(ProxyRequire)
RecordRoute(RecordRoute)
ReplyTo(ReplyTo)
Require(Require)
RetryAfter(RetryAfter)
Route(Route)
Server(Server)
Subject(Subject)
SubscriptionState(SubscriptionState)
Supported(Supported)
Timestamp(Timestamp)
To(To)
Unsupported(Unsupported)
UserAgent(UserAgent)
Via(Via)
Warning(Warning)
WwwAuthenticate(WwwAuthenticate)
Reason(Reason)
ReferTo(ReferTo)
ReferredBy(ReferredBy)
SessionExpires(SessionExpires)
MinSE(MinSE)
PAssertedIdentity(PAssertedIdentity)
PPreferredIdentity(PPreferredIdentity)
Replaces(Replaces)
RSeq(RSeq)
RAck(RAck)
Privacy(Privacy)
Path(Path)
Identity(Identity)
UserToUser(UserToUser)
Implementations§
Trait Implementations§
impl Eq for Header
Source§impl From<AcceptEncoding> for Header
impl From<AcceptEncoding> for Header
Source§fn from(s: AcceptEncoding) -> Header
fn from(s: AcceptEncoding) -> Header
Converts to this type from the input type.
Source§impl From<AcceptLanguage> for Header
impl From<AcceptLanguage> for Header
Source§fn from(s: AcceptLanguage) -> Header
fn from(s: AcceptLanguage) -> Header
Converts to this type from the input type.
Source§impl From<AuthenticationInfo> for Header
impl From<AuthenticationInfo> for Header
Source§fn from(s: AuthenticationInfo) -> Header
fn from(s: AuthenticationInfo) -> Header
Converts to this type from the input type.
Source§impl From<Authorization> for Header
impl From<Authorization> for Header
Source§fn from(a: Authorization) -> Header
fn from(a: Authorization) -> Header
Converts to this type from the input type.
Source§impl From<Authorization> for Header
impl From<Authorization> for Header
Source§fn from(s: Authorization) -> Header
fn from(s: Authorization) -> Header
Converts to this type from the input type.
Source§impl From<ContentDisposition> for Header
impl From<ContentDisposition> for Header
Source§fn from(s: ContentDisposition) -> Header
fn from(s: ContentDisposition) -> Header
Converts to this type from the input type.
Source§impl From<ContentEncoding> for Header
impl From<ContentEncoding> for Header
Source§fn from(s: ContentEncoding) -> Header
fn from(s: ContentEncoding) -> Header
Converts to this type from the input type.
Source§impl From<ContentLanguage> for Header
impl From<ContentLanguage> for Header
Source§fn from(s: ContentLanguage) -> Header
fn from(s: ContentLanguage) -> Header
Converts to this type from the input type.
Source§impl From<ContentLength> for Header
impl From<ContentLength> for Header
Source§fn from(s: ContentLength) -> Header
fn from(s: ContentLength) -> Header
Converts to this type from the input type.
Source§impl From<ContentType> for Header
impl From<ContentType> for Header
Source§fn from(s: ContentType) -> Header
fn from(s: ContentType) -> Header
Converts to this type from the input type.
Source§impl From<MaxForwards> for Header
impl From<MaxForwards> for Header
Source§fn from(s: MaxForwards) -> Header
fn from(s: MaxForwards) -> Header
Converts to this type from the input type.
Source§impl From<MimeVersion> for Header
impl From<MimeVersion> for Header
Source§fn from(s: MimeVersion) -> Header
fn from(s: MimeVersion) -> Header
Converts to this type from the input type.
Source§impl From<MinExpires> for Header
impl From<MinExpires> for Header
Source§fn from(s: MinExpires) -> Header
fn from(s: MinExpires) -> Header
Converts to this type from the input type.
Source§impl From<Organization> for Header
impl From<Organization> for Header
Source§fn from(s: Organization) -> Header
fn from(s: Organization) -> Header
Converts to this type from the input type.
Source§impl From<PAssertedIdentity> for Header
impl From<PAssertedIdentity> for Header
Source§fn from(s: PAssertedIdentity) -> Header
fn from(s: PAssertedIdentity) -> Header
Converts to this type from the input type.
Source§impl From<PPreferredIdentity> for Header
impl From<PPreferredIdentity> for Header
Source§fn from(s: PPreferredIdentity) -> Header
fn from(s: PPreferredIdentity) -> Header
Converts to this type from the input type.
Source§impl From<ProxyAuthenticate> for Header
impl From<ProxyAuthenticate> for Header
Source§fn from(p: ProxyAuthenticate) -> Header
fn from(p: ProxyAuthenticate) -> Header
Converts to this type from the input type.
Source§impl From<ProxyAuthenticate> for Header
impl From<ProxyAuthenticate> for Header
Source§fn from(s: ProxyAuthenticate) -> Header
fn from(s: ProxyAuthenticate) -> Header
Converts to this type from the input type.
Source§impl From<ProxyAuthorization> for Header
impl From<ProxyAuthorization> for Header
Source§fn from(p: ProxyAuthorization) -> Header
fn from(p: ProxyAuthorization) -> Header
Converts to this type from the input type.
Source§impl From<ProxyAuthorization> for Header
impl From<ProxyAuthorization> for Header
Source§fn from(s: ProxyAuthorization) -> Header
fn from(s: ProxyAuthorization) -> Header
Converts to this type from the input type.
Source§impl From<ProxyRequire> for Header
impl From<ProxyRequire> for Header
Source§fn from(s: ProxyRequire) -> Header
fn from(s: ProxyRequire) -> Header
Converts to this type from the input type.
Source§impl From<RecordRoute> for Header
impl From<RecordRoute> for Header
Source§fn from(r: RecordRoute) -> Header
fn from(r: RecordRoute) -> Header
Converts to this type from the input type.
Source§impl From<RecordRoute> for Header
impl From<RecordRoute> for Header
Source§fn from(s: RecordRoute) -> Header
fn from(s: RecordRoute) -> Header
Converts to this type from the input type.
Source§impl From<ReferredBy> for Header
impl From<ReferredBy> for Header
Source§fn from(s: ReferredBy) -> Header
fn from(s: ReferredBy) -> Header
Converts to this type from the input type.
Source§impl From<RetryAfter> for Header
impl From<RetryAfter> for Header
Source§fn from(s: RetryAfter) -> Header
fn from(s: RetryAfter) -> Header
Converts to this type from the input type.
Source§impl From<SessionExpires> for Header
impl From<SessionExpires> for Header
Source§fn from(s: SessionExpires) -> Header
fn from(s: SessionExpires) -> Header
Converts to this type from the input type.
Source§impl From<SubscriptionState> for Header
impl From<SubscriptionState> for Header
Source§fn from(s: SubscriptionState) -> Header
fn from(s: SubscriptionState) -> Header
Converts to this type from the input type.
Source§impl From<Unsupported> for Header
impl From<Unsupported> for Header
Source§fn from(s: Unsupported) -> Header
fn from(s: Unsupported) -> Header
Converts to this type from the input type.
Source§impl From<UserToUser> for Header
impl From<UserToUser> for Header
Source§fn from(s: UserToUser) -> Header
fn from(s: UserToUser) -> Header
Converts to this type from the input type.
Source§impl From<WwwAuthenticate> for Header
impl From<WwwAuthenticate> for Header
Source§fn from(w: WwwAuthenticate) -> Header
fn from(w: WwwAuthenticate) -> Header
Converts to this type from the input type.
Source§impl From<WwwAuthenticate> for Header
impl From<WwwAuthenticate> for Header
Source§fn from(s: WwwAuthenticate) -> Header
fn from(s: WwwAuthenticate) -> Header
Converts to this type from the input type.
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more