Struct mcaptcha::api::v1::notifications::add::AddNotificationRequest
source · pub struct AddNotificationRequest {
pub to: String,
pub heading: String,
pub message: String,
}Fields§
§to: String§heading: String§message: StringTrait Implementations§
source§impl Clone for AddNotificationRequest
impl Clone for AddNotificationRequest
source§fn clone(&self) -> AddNotificationRequest
fn clone(&self) -> AddNotificationRequest
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 AddNotificationRequest
impl Debug for AddNotificationRequest
source§impl Default for AddNotificationRequest
impl Default for AddNotificationRequest
source§fn default() -> AddNotificationRequest
fn default() -> AddNotificationRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AddNotificationRequest
impl<'de> Deserialize<'de> for AddNotificationRequest
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<AddNotificationRequest> for AddNotificationRequest
impl PartialEq<AddNotificationRequest> for AddNotificationRequest
source§fn eq(&self, other: &AddNotificationRequest) -> bool
fn eq(&self, other: &AddNotificationRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.