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 AsXml for SubscriptionElem
impl AsXml for SubscriptionElem
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(other: &SubscriptionElem) -> Self
fn from(other: &SubscriptionElem) -> Self
Converts to this type from the input type.
Source§impl From<SubscriptionElem> for Element
impl From<SubscriptionElem> for Element
Source§fn from(other: SubscriptionElem) -> Self
fn from(other: SubscriptionElem) -> Self
Converts to this type from the input type.
Source§impl FromXml for SubscriptionElem
impl FromXml for SubscriptionElem
Source§impl PartialEq for SubscriptionElem
impl PartialEq for SubscriptionElem
Source§impl TryFrom<Element> for SubscriptionElem
impl TryFrom<Element> for SubscriptionElem
impl StructuralPartialEq for SubscriptionElem
Auto Trait Implementations§
impl Freeze for SubscriptionElem
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