pub struct OutgoingIsEnabled {
pub is_enabled: bool,
pub outgoing_email: String,
}Fields§
§is_enabled: boolВключена ли пересылка исходящих писем
outgoing_email: StringАдрес для пересылки исходящих писем. \ Если передан параметр
is_enabled: false, то значение передавать нельзя
Implementations§
Source§impl OutgoingIsEnabled
impl OutgoingIsEnabled
pub fn new(is_enabled: bool, outgoing_email: String) -> OutgoingIsEnabled
Trait Implementations§
Source§impl Clone for OutgoingIsEnabled
impl Clone for OutgoingIsEnabled
Source§fn clone(&self) -> OutgoingIsEnabled
fn clone(&self) -> OutgoingIsEnabled
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutgoingIsEnabled
impl Debug for OutgoingIsEnabled
Source§impl Default for OutgoingIsEnabled
impl Default for OutgoingIsEnabled
Source§fn default() -> OutgoingIsEnabled
fn default() -> OutgoingIsEnabled
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutgoingIsEnabled
impl<'de> Deserialize<'de> for OutgoingIsEnabled
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 OutgoingIsEnabled
impl PartialEq for OutgoingIsEnabled
Source§fn eq(&self, other: &OutgoingIsEnabled) -> bool
fn eq(&self, other: &OutgoingIsEnabled) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OutgoingIsEnabled
impl Serialize for OutgoingIsEnabled
impl StructuralPartialEq for OutgoingIsEnabled
Auto Trait Implementations§
impl Freeze for OutgoingIsEnabled
impl RefUnwindSafe for OutgoingIsEnabled
impl Send for OutgoingIsEnabled
impl Sync for OutgoingIsEnabled
impl Unpin for OutgoingIsEnabled
impl UnsafeUnpin for OutgoingIsEnabled
impl UnwindSafe for OutgoingIsEnabled
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