pub struct PushSendRequestModel {
pub user_id: Option<String>,
pub organization_id: Option<String>,
pub device_id: Option<String>,
pub identifier: Option<String>,
pub _type: PushType,
pub payload: Option<Value>,
}
Fields§
§user_id: Option<String>
§organization_id: Option<String>
§device_id: Option<String>
§identifier: Option<String>
§_type: PushType
§payload: Option<Value>
Implementations§
Trait Implementations§
source§impl Clone for PushSendRequestModel
impl Clone for PushSendRequestModel
source§fn clone(&self) -> PushSendRequestModel
fn clone(&self) -> PushSendRequestModel
Returns a copy 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 PushSendRequestModel
impl Debug for PushSendRequestModel
source§impl Default for PushSendRequestModel
impl Default for PushSendRequestModel
source§fn default() -> PushSendRequestModel
fn default() -> PushSendRequestModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PushSendRequestModel
impl<'de> Deserialize<'de> for PushSendRequestModel
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<PushSendRequestModel> for PushSendRequestModel
impl PartialEq<PushSendRequestModel> for PushSendRequestModel
source§fn eq(&self, other: &PushSendRequestModel) -> bool
fn eq(&self, other: &PushSendRequestModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.