pub struct NotificationSettingChannels {
pub email: NotificationSettingChannel,
pub sms: NotificationSettingChannel,
pub telegram: NotificationSettingChannel,
}Expand description
NotificationSettingChannels : Каналы отправки уведомления.
Fields§
§email: NotificationSettingChannel§sms: NotificationSettingChannel§telegram: NotificationSettingChannelImplementations§
Source§impl NotificationSettingChannels
impl NotificationSettingChannels
Sourcepub fn new(
email: NotificationSettingChannel,
sms: NotificationSettingChannel,
telegram: NotificationSettingChannel,
) -> NotificationSettingChannels
pub fn new( email: NotificationSettingChannel, sms: NotificationSettingChannel, telegram: NotificationSettingChannel, ) -> NotificationSettingChannels
Каналы отправки уведомления.
Trait Implementations§
Source§impl Clone for NotificationSettingChannels
impl Clone for NotificationSettingChannels
Source§fn clone(&self) -> NotificationSettingChannels
fn clone(&self) -> NotificationSettingChannels
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 NotificationSettingChannels
impl Debug for NotificationSettingChannels
Source§impl Default for NotificationSettingChannels
impl Default for NotificationSettingChannels
Source§fn default() -> NotificationSettingChannels
fn default() -> NotificationSettingChannels
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationSettingChannels
impl<'de> Deserialize<'de> for NotificationSettingChannels
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 NotificationSettingChannels
impl PartialEq for NotificationSettingChannels
Source§fn eq(&self, other: &NotificationSettingChannels) -> bool
fn eq(&self, other: &NotificationSettingChannels) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NotificationSettingChannels
Auto Trait Implementations§
impl Freeze for NotificationSettingChannels
impl RefUnwindSafe for NotificationSettingChannels
impl Send for NotificationSettingChannels
impl Sync for NotificationSettingChannels
impl Unpin for NotificationSettingChannels
impl UnsafeUnpin for NotificationSettingChannels
impl UnwindSafe for NotificationSettingChannels
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