pub struct FormQuery {
pub instructions: Option<String>,
pub form: DataForm,
}Expand description
Query for registering against a service.
Fields§
§instructions: Option<String>Legacy instructions fallback for entities which don’t understand the form.
form: DataFormA data form the user must fill before being allowed to register.
Trait Implementations§
Source§impl AsXml for FormQuery
impl AsXml for FormQuery
Source§impl FromXml for FormQuery
impl FromXml for FormQuery
Source§type Builder = FormQueryFromXmlBuilder
type Builder = FormQueryFromXmlBuilder
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 moreSource§impl TryFrom<Element> for FormQuery
impl TryFrom<Element> for FormQuery
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl IqResultPayload for FormQuery
impl IqSetPayload for FormQuery
Auto Trait Implementations§
impl Freeze for FormQuery
impl RefUnwindSafe for FormQuery
impl Send for FormQuery
impl Sync for FormQuery
impl Unpin for FormQuery
impl UnwindSafe for FormQuery
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