pub struct PromptPriority(/* private fields */);Expand description
Bounded priority used only within one authority class.
Implementations§
Trait Implementations§
Source§impl Clone for PromptPriority
impl Clone for PromptPriority
Source§fn clone(&self) -> PromptPriority
fn clone(&self) -> PromptPriority
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PromptPriority
Source§impl Debug for PromptPriority
impl Debug for PromptPriority
Source§impl<'de> Deserialize<'de> for PromptPriority
impl<'de> Deserialize<'de> for PromptPriority
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PromptPriority
Source§impl Hash for PromptPriority
impl Hash for PromptPriority
Source§impl Ord for PromptPriority
impl Ord for PromptPriority
Source§fn cmp(&self, other: &PromptPriority) -> Ordering
fn cmp(&self, other: &PromptPriority) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PromptPriority
impl PartialEq for PromptPriority
Source§impl PartialOrd for PromptPriority
impl PartialOrd for PromptPriority
Source§impl Serialize for PromptPriority
impl Serialize for PromptPriority
impl StructuralPartialEq for PromptPriority
Auto Trait Implementations§
impl Freeze for PromptPriority
impl RefUnwindSafe for PromptPriority
impl Send for PromptPriority
impl Sync for PromptPriority
impl Unpin for PromptPriority
impl UnsafeUnpin for PromptPriority
impl UnwindSafe for PromptPriority
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