pub struct NotifyPrefs {
pub send_online: bool,
pub disabled_on_messages: bool,
}Expand description
用户通知设置
Fields§
§send_online: bool§disabled_on_messages: boolTrait Implementations§
Source§impl Debug for NotifyPrefs
impl Debug for NotifyPrefs
Source§impl<'de> Deserialize<'de> for NotifyPrefs
impl<'de> Deserialize<'de> for NotifyPrefs
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
Auto Trait Implementations§
impl Freeze for NotifyPrefs
impl RefUnwindSafe for NotifyPrefs
impl Send for NotifyPrefs
impl Sync for NotifyPrefs
impl Unpin for NotifyPrefs
impl UnwindSafe for NotifyPrefs
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