pub enum AcceptPayload {
Jingle(Jingle),
ExternalUri(String),
}
Expand description
The payload of an <accept/>
element, either Jingle or an external URI.
Variants§
Jingle(Jingle)
The client picked Jingle, it should then send a session-initiate.
ExternalUri(String)
The client picked an external method, it should now handle the URI.
Trait Implementations§
Source§impl AsXml for AcceptPayload
impl AsXml for AcceptPayload
Source§impl Clone for AcceptPayload
impl Clone for AcceptPayload
Source§fn clone(&self) -> AcceptPayload
fn clone(&self) -> AcceptPayload
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AcceptPayload
impl Debug for AcceptPayload
Source§impl From<&AcceptPayload> for Element
impl From<&AcceptPayload> for Element
Source§fn from(other: &AcceptPayload) -> Self
fn from(other: &AcceptPayload) -> Self
Converts to this type from the input type.
Source§impl From<AcceptPayload> for Element
impl From<AcceptPayload> for Element
Source§fn from(other: AcceptPayload) -> Self
fn from(other: AcceptPayload) -> Self
Converts to this type from the input type.
Source§impl FromXml for AcceptPayload
impl FromXml for AcceptPayload
Source§type Builder = AcceptPayloadFromXmlBuilder
type Builder = AcceptPayloadFromXmlBuilder
A builder type used to construct the element. Read more
Source§fn from_events(
name: QName,
attrs: AttrMap,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§impl PartialEq for AcceptPayload
impl PartialEq for AcceptPayload
Source§impl TryFrom<Element> for AcceptPayload
impl TryFrom<Element> for AcceptPayload
impl StructuralPartialEq for AcceptPayload
Auto Trait Implementations§
impl Freeze for AcceptPayload
impl RefUnwindSafe for AcceptPayload
impl Send for AcceptPayload
impl Sync for AcceptPayload
impl Unpin for AcceptPayload
impl UnwindSafe for AcceptPayload
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