Struct xmpp_parsers::fast::Mechanism
source · pub struct Mechanism(pub String);
Expand description
A <mechanism/>
element, describing one mechanism allowed by the server to authenticate.
Tuple Fields§
§0: String
Trait Implementations§
source§impl FromXml for Mechanism
impl FromXml for Mechanism
source§type Builder = MechanismFromXmlBuilder
type Builder = MechanismFromXmlBuilder
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 Eq for Mechanism
impl StructuralPartialEq for Mechanism
Auto Trait Implementations§
impl Freeze for Mechanism
impl RefUnwindSafe for Mechanism
impl Send for Mechanism
impl Sync for Mechanism
impl Unpin for Mechanism
impl UnwindSafe for Mechanism
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
)