Struct jyve::model::Notification
source · pub struct Notification {
pub action_was_taken: bool,
pub category: String,
pub contents: String,
pub created_at: DateTime<Utc>,
pub id: Option<i64>,
pub ios_notification_json: Option<String>,
pub metadata: Value,
pub should_hide: bool,
pub title: String,
pub updated_at: DateTime<Utc>,
pub user: Option<User>,
}
Fields§
§action_was_taken: bool
§category: String
§contents: String
§created_at: DateTime<Utc>
§id: Option<i64>
§ios_notification_json: Option<String>
§metadata: Value
§should_hide: bool
§title: String
§updated_at: DateTime<Utc>
§user: Option<User>
Trait Implementations§
source§impl Clone for Notification
impl Clone for Notification
source§fn clone(&self) -> Notification
fn clone(&self) -> Notification
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 Notification
impl Debug for Notification
source§impl<'de> Deserialize<'de> for Notification
impl<'de> Deserialize<'de> for Notification
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 Display for Notification
impl Display for Notification
Auto Trait Implementations§
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnwindSafe for Notification
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