Struct xmpp_parsers::sasl2::Success
source · 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 FromXml for Success
impl FromXml for Success
source§type Builder = SuccessFromXmlBuilder
type Builder = SuccessFromXmlBuilder
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)