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: String
Trait 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 for AddNotificationRequest
impl PartialEq 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 ==
.source§impl Serialize for AddNotificationRequest
impl Serialize for AddNotificationRequest
impl StructuralPartialEq for AddNotificationRequest
Auto Trait Implementations§
impl RefUnwindSafe for AddNotificationRequest
impl Send for AddNotificationRequest
impl Sync for AddNotificationRequest
impl Unpin for AddNotificationRequest
impl UnwindSafe for AddNotificationRequest
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