pub struct AlertPref {
pub source: String,
pub enabled: bool,
}Fields§
§source: String§enabled: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for AlertPref
impl<'de> Deserialize<'de> for AlertPref
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 AlertPref
impl StructuralPartialEq for AlertPref
Auto Trait Implementations§
impl Freeze for AlertPref
impl RefUnwindSafe for AlertPref
impl Send for AlertPref
impl Sync for AlertPref
impl Unpin for AlertPref
impl UnsafeUnpin for AlertPref
impl UnwindSafe for AlertPref
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