pub struct FcmPayload {
pub message: FcmMessage,
}Expand description
Wrapper struct for FCM payload, required by the FCM v1 API.
Fields§
§message: FcmMessageTrait Implementations§
Source§impl Clone for FcmPayload
impl Clone for FcmPayload
Source§fn clone(&self) -> FcmPayload
fn clone(&self) -> FcmPayload
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 FcmPayload
impl Debug for FcmPayload
Source§impl Default for FcmPayload
impl Default for FcmPayload
Source§fn default() -> FcmPayload
fn default() -> FcmPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FcmPayload
impl<'de> Deserialize<'de> for FcmPayload
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
Auto Trait Implementations§
impl Freeze for FcmPayload
impl RefUnwindSafe for FcmPayload
impl Send for FcmPayload
impl Sync for FcmPayload
impl Unpin for FcmPayload
impl UnwindSafe for FcmPayload
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