pub struct NotificationPreference {
pub name: String,
pub description: String,
pub kind: String,
pub enabled: bool,
}Fields§
§name: String§description: String§kind: String§enabled: boolTrait Implementations§
Source§impl Clone for NotificationPreference
impl Clone for NotificationPreference
Source§fn clone(&self) -> NotificationPreference
fn clone(&self) -> NotificationPreference
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 NotificationPreference
impl Debug for NotificationPreference
Source§impl<'de> Deserialize<'de> for NotificationPreference
impl<'de> Deserialize<'de> for NotificationPreference
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 PartialEq for NotificationPreference
impl PartialEq for NotificationPreference
Source§impl Serialize for NotificationPreference
impl Serialize for NotificationPreference
impl Eq for NotificationPreference
impl StructuralPartialEq for NotificationPreference
Auto Trait Implementations§
impl Freeze for NotificationPreference
impl RefUnwindSafe for NotificationPreference
impl Send for NotificationPreference
impl Sync for NotificationPreference
impl Unpin for NotificationPreference
impl UnsafeUnpin for NotificationPreference
impl UnwindSafe for NotificationPreference
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