pub struct NotificationResponse {
pub channel: Option<Value>,
pub content: Option<Value>,
pub deep_link_guid: Option<Value>,
pub delivered_at: Option<Value>,
pub entity_guid: Option<Value>,
pub guid: Option<Value>,
pub has_been_delivered: Option<Value>,
pub has_been_viewed: Option<Value>,
pub notification_type: Option<Value>,
pub subject: Option<Value>,
}Expand description
NotificationResponse
JSON schema
{
"properties": {
"channel": {
"examples": [
"push"
]
},
"content": {
"examples": [
"The content related to the notification."
]
},
"deep_link_guid": {
"examples": [
"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de"
]
},
"delivered_at": {},
"entity_guid": {
"examples": [
"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de"
]
},
"guid": {
"examples": [
"TF-b53294f5-2356-4782-9f81-ae064c42b40a"
]
},
"has_been_delivered": {
"examples": [
true
]
},
"has_been_viewed": {
"examples": [
false
]
},
"notification_type": {
"examples": [
2
]
},
"subject": {
"examples": [
"You're projected to spend $1,920.07 more than you've budgeted
for Fees & Charges. You've already spent $65.67 of $316.00."
]
}
}
}Fields§
§channel: Option<Value>§content: Option<Value>§deep_link_guid: Option<Value>§delivered_at: Option<Value>§entity_guid: Option<Value>§guid: Option<Value>§has_been_delivered: Option<Value>§has_been_viewed: Option<Value>§notification_type: Option<Value>§subject: Option<Value>Trait Implementations§
Source§impl Clone for NotificationResponse
impl Clone for NotificationResponse
Source§fn clone(&self) -> NotificationResponse
fn clone(&self) -> NotificationResponse
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 NotificationResponse
impl Debug for NotificationResponse
Source§impl Default for NotificationResponse
impl Default for NotificationResponse
Source§impl<'de> Deserialize<'de> for NotificationResponse
impl<'de> Deserialize<'de> for NotificationResponse
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 From<&NotificationResponse> for NotificationResponse
impl From<&NotificationResponse> for NotificationResponse
Source§fn from(value: &NotificationResponse) -> Self
fn from(value: &NotificationResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NotificationResponse
impl RefUnwindSafe for NotificationResponse
impl Send for NotificationResponse
impl Sync for NotificationResponse
impl Unpin for NotificationResponse
impl UnwindSafe for NotificationResponse
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