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 for PushSendRequestModel
impl PartialEq for PushSendRequestModel
Source§impl Serialize for PushSendRequestModel
impl Serialize for PushSendRequestModel
impl StructuralPartialEq for PushSendRequestModel
Auto Trait Implementations§
impl Freeze for PushSendRequestModel
impl RefUnwindSafe for PushSendRequestModel
impl Send for PushSendRequestModel
impl Sync for PushSendRequestModel
impl Unpin for PushSendRequestModel
impl UnwindSafe for PushSendRequestModel
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