[−][src]Struct libsip::headers::Headers
Wrapper around a Vec
Implementations
impl Headers
[src]
pub fn new() -> Headers
[src]
pub fn push(&mut self, h: Header)
[src]
Push a new Header onto the stack.
pub fn iter(&self) -> impl Iterator<Item = &Header>
[src]
Access the underlying vec iterator.
pub fn extend(&mut self, i: Vec<Header>)
[src]
Add the Headers onto the interior Vec
pub fn expires(&self) -> Option<Header>
[src]
Return An Expires header if one is present.
pub fn event(&self) -> Option<Header>
[src]
Return the Event header if one is present.
pub fn cseq(&self) -> Option<Header>
[src]
Return the CSeq header if one is present.
pub fn from(&self) -> Option<Header>
[src]
Return the From header if one is present.
pub fn to(&self) -> Option<Header>
[src]
Return the To header if one is present.
pub fn contact(&self) -> Option<Header>
[src]
Return the Contact header if one is present.
pub fn call_id(&self) -> Option<Header>
[src]
Return the CoallId header if one is present.
pub fn via(&self) -> Option<Header>
[src]
Return the Via header if one is present.
pub fn subscription_state(&self) -> Option<Header>
[src]
Return the Subscription-State header if one is present.
pub fn xfs_sending_message(&self) -> Option<Header>
[src]
Return XFS Sending Header if one is present.
Trait Implementations
impl Clone for Headers
[src]
impl Debug for Headers
[src]
impl Default for Headers
[src]
impl IntoIterator for Headers
[src]
type IntoIter = IntoIter<Self::Item>
Which kind of iterator are we turning this into?
type Item = Header
The type of the elements being iterated over.
fn into_iter(self) -> Self::IntoIter
[src]
impl PartialEq<Headers> for Headers
[src]
impl StructuralPartialEq for Headers
[src]
Auto Trait Implementations
impl RefUnwindSafe for Headers
impl Send for Headers
impl Sync for Headers
impl Unpin for Headers
impl UnwindSafe for Headers
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,