pub enum NotificationStateType {
Unread,
Read,
Pinned,
}Variants§
Implementations§
Source§impl NotificationStateType
impl NotificationStateType
pub fn available_for_choosing() -> [Self; 3]
Trait Implementations§
Source§impl Clone for NotificationStateType
impl Clone for NotificationStateType
Source§fn clone(&self) -> NotificationStateType
fn clone(&self) -> NotificationStateType
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 NotificationStateType
impl Debug for NotificationStateType
Source§impl<'de> Deserialize<'de> for NotificationStateType
impl<'de> Deserialize<'de> for NotificationStateType
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 Display for NotificationStateType
impl Display for NotificationStateType
Source§impl FromStr for NotificationStateType
impl FromStr for NotificationStateType
Source§impl Serialize for NotificationStateType
impl Serialize for NotificationStateType
Source§impl TryFrom<&str> for NotificationStateType
impl TryFrom<&str> for NotificationStateType
Source§impl ValueEnum for NotificationStateType
impl ValueEnum for NotificationStateType
impl Copy for NotificationStateType
Auto Trait Implementations§
impl Freeze for NotificationStateType
impl RefUnwindSafe for NotificationStateType
impl Send for NotificationStateType
impl Sync for NotificationStateType
impl Unpin for NotificationStateType
impl UnwindSafe for NotificationStateType
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