pub struct NotificationResponseModel {
pub object: Option<String>,
pub id: Option<Uuid>,
pub priority: Option<Priority>,
pub title: Option<String>,
pub body: Option<String>,
pub date: Option<String>,
pub read_date: Option<String>,
pub deleted_date: Option<String>,
}
Fields§
§object: Option<String>
§id: Option<Uuid>
§priority: Option<Priority>
§title: Option<String>
§body: Option<String>
§date: Option<String>
§read_date: Option<String>
§deleted_date: Option<String>
Implementations§
Source§impl NotificationResponseModel
impl NotificationResponseModel
pub fn new() -> NotificationResponseModel
Trait Implementations§
Source§impl Clone for NotificationResponseModel
impl Clone for NotificationResponseModel
Source§fn clone(&self) -> NotificationResponseModel
fn clone(&self) -> NotificationResponseModel
Returns a copy 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 NotificationResponseModel
impl Debug for NotificationResponseModel
Source§impl Default for NotificationResponseModel
impl Default for NotificationResponseModel
Source§fn default() -> NotificationResponseModel
fn default() -> NotificationResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationResponseModel
impl<'de> Deserialize<'de> for NotificationResponseModel
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 StructuralPartialEq for NotificationResponseModel
Auto Trait Implementations§
impl Freeze for NotificationResponseModel
impl RefUnwindSafe for NotificationResponseModel
impl Send for NotificationResponseModel
impl Sync for NotificationResponseModel
impl Unpin for NotificationResponseModel
impl UnwindSafe for NotificationResponseModel
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