pub struct UpdateNotificationBody {
pub viewed: Option<bool>,
pub opted_out: Option<bool>,
}Fields§
§viewed: Option<bool>§opted_out: Option<bool>Implementations§
Source§impl UpdateNotificationBody
impl UpdateNotificationBody
pub fn new() -> UpdateNotificationBody
Trait Implementations§
Source§impl Clone for UpdateNotificationBody
impl Clone for UpdateNotificationBody
Source§fn clone(&self) -> UpdateNotificationBody
fn clone(&self) -> UpdateNotificationBody
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 UpdateNotificationBody
impl Debug for UpdateNotificationBody
Source§impl Default for UpdateNotificationBody
impl Default for UpdateNotificationBody
Source§fn default() -> UpdateNotificationBody
fn default() -> UpdateNotificationBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateNotificationBody
impl<'de> Deserialize<'de> for UpdateNotificationBody
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 UpdateNotificationBody
impl PartialEq for UpdateNotificationBody
Source§impl Serialize for UpdateNotificationBody
impl Serialize for UpdateNotificationBody
impl StructuralPartialEq for UpdateNotificationBody
Auto Trait Implementations§
impl Freeze for UpdateNotificationBody
impl RefUnwindSafe for UpdateNotificationBody
impl Send for UpdateNotificationBody
impl Sync for UpdateNotificationBody
impl Unpin for UpdateNotificationBody
impl UnwindSafe for UpdateNotificationBody
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