#[non_exhaustive]pub enum ProgressNotificationIcon {
Download,
Upload,
Save,
App,
}Expand description
Icon type used for notification UI.
§TypeScript
// NOTE: New variants may be added in the future
type NotificationIcon = "App" | "Download" | "Upload" | "Save";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 ProgressNotificationIcon
impl Clone for ProgressNotificationIcon
Source§fn clone(&self) -> ProgressNotificationIcon
fn clone(&self) -> ProgressNotificationIcon
Returns a duplicate 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 ProgressNotificationIcon
impl Debug for ProgressNotificationIcon
Source§impl<'de> Deserialize<'de> for ProgressNotificationIcon
impl<'de> Deserialize<'de> for ProgressNotificationIcon
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 Hash for ProgressNotificationIcon
impl Hash for ProgressNotificationIcon
Source§impl PartialEq for ProgressNotificationIcon
impl PartialEq for ProgressNotificationIcon
Source§impl Serialize for ProgressNotificationIcon
impl Serialize for ProgressNotificationIcon
impl Copy for ProgressNotificationIcon
impl Eq for ProgressNotificationIcon
impl StructuralPartialEq for ProgressNotificationIcon
Auto Trait Implementations§
impl Freeze for ProgressNotificationIcon
impl RefUnwindSafe for ProgressNotificationIcon
impl Send for ProgressNotificationIcon
impl Sync for ProgressNotificationIcon
impl Unpin for ProgressNotificationIcon
impl UnsafeUnpin for ProgressNotificationIcon
impl UnwindSafe for ProgressNotificationIcon
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