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§impl Debug for HeaderAccountNotification
impl Debug for HeaderAccountNotification
Source§impl Default for HeaderAccountNotification
impl Default for HeaderAccountNotification
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
impl StructuralPartialEq for HeaderAccountNotification
Auto Trait Implementations§
impl Forget for HeaderAccountNotification
impl Freeze for HeaderAccountNotificationwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, String)>: Freeze,
NonZero<i32>: Freeze,
FixedOffset: Freeze,
impl Move for HeaderAccountNotification
impl RefUnwindSafe for HeaderAccountNotification
impl Send for HeaderAccountNotification
impl Sync for HeaderAccountNotification
impl Unpin for HeaderAccountNotification
impl UnsafeUnpin for HeaderAccountNotificationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
FixedOffset: UnsafeUnpin,
impl UnwindSafe for HeaderAccountNotificationwhere
RawVecInner: UnwindSafe,
HashMap<String, String>: UnwindSafe,
NonZero<i32>: UnwindSafe,
FixedOffset: UnwindSafe,
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