pub struct Success {
pub additional_data: Option<Vec<u8>>,
pub authorization_identifier: Jid,
pub payloads: Vec<Element>,
}
Expand description
Authentication was successful
Fields§
§additional_data: Option<Vec<u8>>
Additional SASL data
Identity assigned by the server
payloads: Vec<Element>
Extra untyped payloads
Trait Implementations§
Source§impl AsXml for Success
impl AsXml for Success
Source§impl FromXml for Success
impl FromXml for Success
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 Success
impl TryFrom<Element> for Success
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Success
Auto Trait Implementations§
impl Freeze for Success
impl RefUnwindSafe for Success
impl Send for Success
impl Sync for Success
impl Unpin for Success
impl UnwindSafe for Success
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