Struct xmpp_parsers::pubsub::owner::SubscriptionElem
source · pub struct SubscriptionElem {
pub jid: Jid,
pub subscription: Subscription,
pub subid: Option<String>,
}
Expand description
A subscription element, describing the state of a subscription.
Fields§
§jid: Jid
The JID affected by this subscription.
subscription: Subscription
The state of the subscription.
subid: Option<String>
Subscription unique id.
Trait Implementations§
source§impl Clone for SubscriptionElem
impl Clone for SubscriptionElem
source§fn clone(&self) -> SubscriptionElem
fn clone(&self) -> SubscriptionElem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SubscriptionElem
impl Debug for SubscriptionElem
source§impl From<SubscriptionElem> for Element
impl From<SubscriptionElem> for Element
source§fn from(elem: SubscriptionElem) -> Element
fn from(elem: SubscriptionElem) -> Element
Converts to this type from the input type.
source§impl PartialEq for SubscriptionElem
impl PartialEq for SubscriptionElem
source§fn eq(&self, other: &SubscriptionElem) -> bool
fn eq(&self, other: &SubscriptionElem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Element> for SubscriptionElem
impl TryFrom<Element> for SubscriptionElem
impl StructuralPartialEq for SubscriptionElem
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionElem
impl Send for SubscriptionElem
impl Sync for SubscriptionElem
impl Unpin for SubscriptionElem
impl UnwindSafe for SubscriptionElem
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