pub struct BasicNotificationAllOfAndroidBackgroundLayout {
pub image: Option<String>,
pub headings_color: Option<String>,
pub contents_color: Option<String>,
}
Expand description
BasicNotificationAllOfAndroidBackgroundLayout : Channel: Push Notifications Platform: Android Allowing setting a background image for the notification. This is a JSON object containing the following keys. See our Background Image documentation for image sizes.
Fields§
§image: Option<String>
Asset file, android resource name, or URL to remote image.
headings_color: Option<String>
Title text color ARGB Hex format. Example(Blue) "FF0000FF".
contents_color: Option<String>
Body text color ARGB Hex format. Example(Red) "FFFF0000".
Implementations§
Source§impl BasicNotificationAllOfAndroidBackgroundLayout
impl BasicNotificationAllOfAndroidBackgroundLayout
Sourcepub fn new() -> BasicNotificationAllOfAndroidBackgroundLayout
pub fn new() -> BasicNotificationAllOfAndroidBackgroundLayout
Channel: Push Notifications Platform: Android Allowing setting a background image for the notification. This is a JSON object containing the following keys. See our Background Image documentation for image sizes.
Trait Implementations§
Source§impl Clone for BasicNotificationAllOfAndroidBackgroundLayout
impl Clone for BasicNotificationAllOfAndroidBackgroundLayout
Source§fn clone(&self) -> BasicNotificationAllOfAndroidBackgroundLayout
fn clone(&self) -> BasicNotificationAllOfAndroidBackgroundLayout
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 Default for BasicNotificationAllOfAndroidBackgroundLayout
impl Default for BasicNotificationAllOfAndroidBackgroundLayout
Source§fn default() -> BasicNotificationAllOfAndroidBackgroundLayout
fn default() -> BasicNotificationAllOfAndroidBackgroundLayout
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BasicNotificationAllOfAndroidBackgroundLayout
impl<'de> Deserialize<'de> for BasicNotificationAllOfAndroidBackgroundLayout
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 BasicNotificationAllOfAndroidBackgroundLayout
impl PartialEq for BasicNotificationAllOfAndroidBackgroundLayout
Source§fn eq(&self, other: &BasicNotificationAllOfAndroidBackgroundLayout) -> bool
fn eq(&self, other: &BasicNotificationAllOfAndroidBackgroundLayout) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BasicNotificationAllOfAndroidBackgroundLayout
Auto Trait Implementations§
impl Freeze for BasicNotificationAllOfAndroidBackgroundLayout
impl RefUnwindSafe for BasicNotificationAllOfAndroidBackgroundLayout
impl Send for BasicNotificationAllOfAndroidBackgroundLayout
impl Sync for BasicNotificationAllOfAndroidBackgroundLayout
impl Unpin for BasicNotificationAllOfAndroidBackgroundLayout
impl UnwindSafe for BasicNotificationAllOfAndroidBackgroundLayout
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