#[non_exhaustive]pub enum MessageDialogKind {
Info,
Warning,
Error,
}
Expand description
Types of message, ask and confirm dialogs.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for MessageDialogKind
impl Clone for MessageDialogKind
source§fn clone(&self) -> MessageDialogKind
fn clone(&self) -> MessageDialogKind
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 MessageDialogKind
impl Debug for MessageDialogKind
source§impl Default for MessageDialogKind
impl Default for MessageDialogKind
source§impl<'de> Deserialize<'de> for MessageDialogKind
impl<'de> Deserialize<'de> for MessageDialogKind
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
source§impl From<MessageDialogKind> for MessageLevel
impl From<MessageDialogKind> for MessageLevel
source§fn from(kind: MessageDialogKind) -> Self
fn from(kind: MessageDialogKind) -> Self
Converts to this type from the input type.
source§impl Hash for MessageDialogKind
impl Hash for MessageDialogKind
source§impl PartialEq for MessageDialogKind
impl PartialEq for MessageDialogKind
source§fn eq(&self, other: &MessageDialogKind) -> bool
fn eq(&self, other: &MessageDialogKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MessageDialogKind
impl Serialize for MessageDialogKind
impl Copy for MessageDialogKind
impl Eq for MessageDialogKind
impl StructuralPartialEq for MessageDialogKind
Auto Trait Implementations§
impl Freeze for MessageDialogKind
impl RefUnwindSafe for MessageDialogKind
impl Send for MessageDialogKind
impl Sync for MessageDialogKind
impl Unpin for MessageDialogKind
impl UnwindSafe for MessageDialogKind
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
source§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.