Enum xmpp_parsers::roster::Ask
source · pub enum Ask {
Subscribe,
None,
}
Expand description
The sub-state of subscription with a contact.
Variants§
Trait Implementations§
source§impl FromXmlText for Ask
impl FromXmlText for Ask
source§impl IntoAttributeValue for Ask
impl IntoAttributeValue for Ask
source§fn into_attribute_value(self) -> Option<String>
fn into_attribute_value(self) -> Option<String>
Turns this into an attribute string, or None if it shouldn’t be added.
source§impl IntoOptionalXmlText for Ask
impl IntoOptionalXmlText for Ask
impl StructuralPartialEq for Ask
Auto Trait Implementations§
impl Freeze for Ask
impl RefUnwindSafe for Ask
impl Send for Ask
impl Sync for Ask
impl Unpin for Ask
impl UnwindSafe for Ask
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