pub struct ReferHeaderContext {
pub session_id: String,
pub refer_target: String,
pub headers: HashMap<String, String>,
}Expand description
Input given to a ReferHeaderResolver.
Fields§
§session_id: StringSession id of the call that received the REFER.
refer_target: StringTarget parsed from the REFER’s Refer-To header.
headers: HashMap<String, String>Custom headers carried by the REFER (Header::Other + the typed
User-to-User, X-Referred-* already excluded). With no resolver
installed these are forwarded onto the transfer INVITE unchanged.
Trait Implementations§
Source§impl Clone for ReferHeaderContext
impl Clone for ReferHeaderContext
Source§impl Debug for ReferHeaderContext
impl Debug for ReferHeaderContext
Auto Trait Implementations§
impl Forget for ReferHeaderContext
impl Freeze for ReferHeaderContext
impl Move for ReferHeaderContext
impl RefUnwindSafe for ReferHeaderContext
impl Send for ReferHeaderContext
impl Sync for ReferHeaderContext
impl Unpin for ReferHeaderContext
impl UnsafeUnpin for ReferHeaderContext
impl UnwindSafe for ReferHeaderContext
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
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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