Struct google_books1::api::Notification
source · [−]pub struct Notification {Show 16 fields
pub body: Option<String>,
pub crm_experiment_ids: Option<Vec<String>>,
pub doc_id: Option<String>,
pub doc_type: Option<String>,
pub dont_show_notification: Option<bool>,
pub icon_url: Option<String>,
pub is_document_mature: Option<bool>,
pub kind: Option<String>,
pub notification_group: Option<String>,
pub notification_type: Option<String>,
pub pcampaign_id: Option<String>,
pub reason: Option<String>,
pub show_notification_settings_action: Option<bool>,
pub target_url: Option<String>,
pub time_to_expire_ms: Option<String>,
pub title: Option<String>,
}
Expand description
There is no detailed description.
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).
- get notification (response)
Fields
body: Option<String>
no description provided
crm_experiment_ids: Option<Vec<String>>
The list of crm experiment ids.
doc_id: Option<String>
no description provided
doc_type: Option<String>
no description provided
dont_show_notification: Option<bool>
no description provided
icon_url: Option<String>
no description provided
is_document_mature: Option<bool>
no description provided
kind: Option<String>
Resource type.
notification_group: Option<String>
no description provided
notification_type: Option<String>
no description provided
pcampaign_id: Option<String>
no description provided
reason: Option<String>
no description provided
show_notification_settings_action: Option<bool>
no description provided
target_url: Option<String>
no description provided
time_to_expire_ms: Option<String>
no description provided
title: Option<String>
no description provided
Trait Implementations
sourceimpl Clone for Notification
impl Clone for Notification
sourcefn clone(&self) -> Notification
fn clone(&self) -> Notification
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Notification
impl Debug for Notification
sourceimpl Default for Notification
impl Default for Notification
sourcefn default() -> Notification
fn default() -> Notification
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Notification
impl<'de> Deserialize<'de> for Notification
sourcefn 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
sourceimpl Serialize for Notification
impl Serialize for Notification
impl ResponseResult 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more