pub struct CreateSenderModel {
pub id: i64,
pub spf_error: Option<bool>,
pub dkim_error: Option<bool>,
}Fields§
§id: i64ID of the Sender created
spf_error: Option<bool>Status of SPF configuration for the sender (true = SPF not well configured, false = SPF well configured)
dkim_error: Option<bool>Status of DKIM configuration for the sender (true = DKIM not well configured, false = DKIM well configured)
Implementations§
Source§impl CreateSenderModel
impl CreateSenderModel
pub fn new(id: i64) -> CreateSenderModel
Trait Implementations§
Source§impl Clone for CreateSenderModel
impl Clone for CreateSenderModel
Source§fn clone(&self) -> CreateSenderModel
fn clone(&self) -> CreateSenderModel
Returns a duplicate 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 CreateSenderModel
impl Debug for CreateSenderModel
Source§impl Default for CreateSenderModel
impl Default for CreateSenderModel
Source§fn default() -> CreateSenderModel
fn default() -> CreateSenderModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateSenderModel
impl<'de> Deserialize<'de> for CreateSenderModel
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 CreateSenderModel
impl PartialEq for CreateSenderModel
Source§impl Serialize for CreateSenderModel
impl Serialize for CreateSenderModel
impl StructuralPartialEq for CreateSenderModel
Auto Trait Implementations§
impl Freeze for CreateSenderModel
impl RefUnwindSafe for CreateSenderModel
impl Send for CreateSenderModel
impl Sync for CreateSenderModel
impl Unpin for CreateSenderModel
impl UnwindSafe for CreateSenderModel
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