pub struct DeleteOptions {
pub unsubscribe_only: Option<bool>,
pub reason_code: Option<f64>,
pub feedback: Option<String>,
}
Expand description
delete Options
Fields§
§unsubscribe_only: Option<bool>
whether it is unsubscribeOnly
reason_code: Option<f64>
The reasonCode
feedback: Option<String>
the feedback
Implementations§
source§impl DeleteOptions
impl DeleteOptions
Trait Implementations§
source§impl Clone for DeleteOptions
impl Clone for DeleteOptions
source§fn clone(&self) -> DeleteOptions
fn clone(&self) -> DeleteOptions
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 DeleteOptions
impl Debug for DeleteOptions
source§impl Default for DeleteOptions
impl Default for DeleteOptions
source§fn default() -> DeleteOptions
fn default() -> DeleteOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeleteOptions
impl<'de> Deserialize<'de> for DeleteOptions
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 DeleteOptions
impl PartialEq for DeleteOptions
source§fn eq(&self, other: &DeleteOptions) -> bool
fn eq(&self, other: &DeleteOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DeleteOptions
impl Serialize for DeleteOptions
impl StructuralPartialEq for DeleteOptions
Auto Trait Implementations§
impl Freeze for DeleteOptions
impl RefUnwindSafe for DeleteOptions
impl Send for DeleteOptions
impl Sync for DeleteOptions
impl Unpin for DeleteOptions
impl UnwindSafe for DeleteOptions
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