pub struct LegacyQuery {Show 19 fields
pub registered: bool,
pub instructions: Option<String>,
pub username: Option<String>,
pub nick: Option<String>,
pub password: Option<String>,
pub name: Option<String>,
pub first: Option<String>,
pub last: Option<String>,
pub email: Option<String>,
pub address: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
pub zip: Option<String>,
pub phone: Option<String>,
pub url: Option<String>,
pub date: Option<String>,
pub misc: Option<String>,
pub text: Option<String>,
pub key: Option<String>,
}Expand description
Query for registering against a service, the legacy way.
Fields§
§registered: boolWhether this account is already registered
instructions: Option<String>Instructions to be presented to entities implementing this legacy element.
username: Option<String>Account name associated with the user
nick: Option<String>Familiar name of the user
password: Option<String>Password or secret for the user
name: Option<String>Full name of the user
first: Option<String>Given name of the user
last: Option<String>Family name of the user
email: Option<String>Email address of the user
address: Option<String>Street portion of a physical or mailing address
city: Option<String>Locality portion of a physical or mailing address
state: Option<String>Region portion of a physical or mailing address
zip: Option<String>Postal code portion of a physical or mailing address
phone: Option<String>Telephone number of the user
url: Option<String>URL to web page describing the user
date: Option<String>Some date (e.g., birth date, hire date, sign-up date)
misc: Option<String>Free-form text field (obsolete)
text: Option<String>Free-form text field (obsolete)
key: Option<String>Session key for transaction (obsolete)
Trait Implementations§
Source§impl AsXml for LegacyQuery
impl AsXml for LegacyQuery
Source§impl Clone for LegacyQuery
impl Clone for LegacyQuery
Source§fn clone(&self) -> LegacyQuery
fn clone(&self) -> LegacyQuery
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LegacyQuery
impl Debug for LegacyQuery
Source§impl From<&LegacyQuery> for Element
impl From<&LegacyQuery> for Element
Source§fn from(other: &LegacyQuery) -> Self
fn from(other: &LegacyQuery) -> Self
Source§impl From<LegacyQuery> for Element
impl From<LegacyQuery> for Element
Source§fn from(other: LegacyQuery) -> Self
fn from(other: LegacyQuery) -> Self
Source§impl FromXml for LegacyQuery
impl FromXml for LegacyQuery
Source§type Builder = LegacyQueryFromXmlBuilder
type Builder = LegacyQueryFromXmlBuilder
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>
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Self may be parsed from
a given XML element. Read more