pub struct Accept {
pub id: String,
pub payload: AcceptPayload,
}
Expand description
A call invite can be accepted by sending a message containing an <accept/>
element.
Fields§
§id: String
Identifier of the initial Invite
message to be accepted.
payload: AcceptPayload
The payload of an <accept/>
element, either Jingle or an external URI.
Trait Implementations§
Source§impl FromXml for Accept
impl FromXml for Accept
Source§type Builder = AcceptFromXmlBuilder
type Builder = AcceptFromXmlBuilder
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
impl StructuralPartialEq for Accept
Auto Trait Implementations§
impl Freeze for Accept
impl RefUnwindSafe for Accept
impl Send for Accept
impl Sync for Accept
impl Unpin for Accept
impl UnwindSafe for Accept
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