pub struct Priority(/* private fields */);
Expand description
Priority of this presence. This value can go from -128 to 127, defaults to 0, and any negative value will prevent this resource from receiving messages addressed to the bare JID.
Trait Implementations§
Source§impl TryFrom<Element> for Priority
impl TryFrom<Element> for Priority
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Priority
Auto Trait Implementations§
impl Freeze for Priority
impl RefUnwindSafe for Priority
impl Send for Priority
impl Sync for Priority
impl Unpin for Priority
impl UnwindSafe for Priority
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