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