pub struct BindQuery {
pub resource: Option<String>,
}Expand description
The request for resource binding, which is the process by which a client can obtain a full JID and start exchanging on the XMPP network.
Fields§
§resource: Option<String>Requests this resource, the server may associate another one though.
If this is None, we request no particular resource, and a random one will be affected by the server.
Implementations§
Trait Implementations§
Source§impl AsXml for BindQuery
impl AsXml for BindQuery
Source§impl FromXml for BindQuery
impl FromXml for BindQuery
Source§type Builder = BindQueryFromXmlBuilder
type Builder = BindQueryFromXmlBuilder
A builder type used to construct the element. Read more
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self may be parsed from
a given XML element. Read moreimpl IqSetPayload for BindQuery
impl StructuralPartialEq for BindQuery
Auto Trait Implementations§
impl Freeze for BindQuery
impl RefUnwindSafe for BindQuery
impl Send for BindQuery
impl Sync for BindQuery
impl Unpin for BindQuery
impl UnsafeUnpin for BindQuery
impl UnwindSafe for BindQuery
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