Enum xmpp_parsers::extdisco::Action
source · pub enum Action {
Add,
Remove,
Modify,
}
Expand description
When sending a push update, the action value indicates if the service is being added or deleted from the set of known services (or simply being modified).
Variants§
Add
The service is being added from the set of known services.
Remove
The service is being removed from the set of known services.
Modify
The service is being modified.
Trait Implementations§
source§impl AsXmlText for Action
impl AsXmlText for Action
source§impl IntoAttributeValue for Action
impl IntoAttributeValue for Action
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 PartialEq for Action
impl PartialEq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations§
§impl<T> AsOptionalXmlText for Twhere
T: AsXmlText,
impl<T> AsOptionalXmlText for Twhere
T: AsXmlText,
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)