pub struct HeaderAccountNotification {
pub _id: String,
pub title: String,
pub message: String,
pub messages_by_locale: Option<HashMap<String, String>>,
pub dates: Option<HashMap<String, String>>,
pub severity: String,
pub link_url: Option<String>,
pub link_text: Option<String>,
pub created_at: DateTime<FixedOffset>,
pub type: Option<Option<String>>,
}Fields§
§_id: String§title: String§message: String§messages_by_locale: Option<HashMap<String, String>>Construct a type with a set of properties K of type T
dates: Option<HashMap<String, String>>Construct a type with a set of properties K of type T
severity: String§link_url: Option<String>§link_text: Option<String>§created_at: DateTime<FixedOffset>§type: Option<Option<String>>Discriminator for notifications with a special layout/click handler (e.g. "feedback-offer").
Implementations§
Trait Implementations§
Source§impl Clone for HeaderAccountNotification
impl Clone for HeaderAccountNotification
Source§fn clone(&self) -> HeaderAccountNotification
fn clone(&self) -> HeaderAccountNotification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HeaderAccountNotification
impl Debug for HeaderAccountNotification
Source§impl Default for HeaderAccountNotification
impl Default for HeaderAccountNotification
Source§fn default() -> HeaderAccountNotification
fn default() -> HeaderAccountNotification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HeaderAccountNotification
impl<'de> Deserialize<'de> for HeaderAccountNotification
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 HeaderAccountNotification
impl PartialEq for HeaderAccountNotification
Source§fn eq(&self, other: &HeaderAccountNotification) -> bool
fn eq(&self, other: &HeaderAccountNotification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HeaderAccountNotification
Auto Trait Implementations§
impl Freeze for HeaderAccountNotification
impl RefUnwindSafe for HeaderAccountNotification
impl Send for HeaderAccountNotification
impl Sync for HeaderAccountNotification
impl Unpin for HeaderAccountNotification
impl UnsafeUnpin for HeaderAccountNotification
impl UnwindSafe for HeaderAccountNotification
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