pub struct NotificationSet {
pub notification: Option<Vec<Notification>>,
pub notification_set_id: Option<String>,
}Expand description
A resource returned by the PullNotificationSet API, which contains a collection of notifications for enterprises associated with the service account authenticated for the request.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- pull notification set enterprises (response)
Fields§
§notification: Option<Vec<Notification>>The notifications received, or empty if no notifications are present.
notification_set_id: Option<String>The notification set ID, required to mark the notification as received with the Enterprises.AcknowledgeNotification API. This will be omitted if no notifications are present.
Trait Implementations§
Source§impl Clone for NotificationSet
impl Clone for NotificationSet
Source§fn clone(&self) -> NotificationSet
fn clone(&self) -> NotificationSet
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 NotificationSet
impl Debug for NotificationSet
Source§impl Default for NotificationSet
impl Default for NotificationSet
Source§fn default() -> NotificationSet
fn default() -> NotificationSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationSet
impl<'de> Deserialize<'de> for NotificationSet
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 Serialize for NotificationSet
impl Serialize for NotificationSet
impl ResponseResult for NotificationSet
Auto Trait Implementations§
impl Freeze for NotificationSet
impl RefUnwindSafe for NotificationSet
impl Send for NotificationSet
impl Sync for NotificationSet
impl Unpin for NotificationSet
impl UnwindSafe for NotificationSet
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