Struct dropbox_sdk::team_log::RecipientsConfiguration
source · [−]#[non_exhaustive]pub struct RecipientsConfiguration {
pub recipient_setting_type: Option<AlertRecipientsSettingType>,
pub emails: Option<Vec<EmailAddress>>,
pub groups: Option<Vec<String>>,
}Available on crate feature
dbx_team_log only.Expand description
Recipients Configuration
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.recipient_setting_type: Option<AlertRecipientsSettingType>Recipients setting type.
emails: Option<Vec<EmailAddress>>A list of user emails to notify.
groups: Option<Vec<String>>A list of groups to notify.
Implementations
sourceimpl RecipientsConfiguration
impl RecipientsConfiguration
pub fn with_recipient_setting_type(
self,
value: AlertRecipientsSettingType
) -> Self
pub fn with_emails(self, value: Vec<EmailAddress>) -> Self
pub fn with_groups(self, value: Vec<String>) -> Self
Trait Implementations
sourceimpl Clone for RecipientsConfiguration
impl Clone for RecipientsConfiguration
sourcefn clone(&self) -> RecipientsConfiguration
fn clone(&self) -> RecipientsConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RecipientsConfiguration
impl Debug for RecipientsConfiguration
sourceimpl Default for RecipientsConfiguration
impl Default for RecipientsConfiguration
sourcefn default() -> RecipientsConfiguration
fn default() -> RecipientsConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RecipientsConfiguration
impl<'de> Deserialize<'de> for RecipientsConfiguration
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<RecipientsConfiguration> for RecipientsConfiguration
impl PartialEq<RecipientsConfiguration> for RecipientsConfiguration
sourcefn eq(&self, other: &RecipientsConfiguration) -> bool
fn eq(&self, other: &RecipientsConfiguration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RecipientsConfiguration) -> bool
fn ne(&self, other: &RecipientsConfiguration) -> bool
This method tests for !=.
sourceimpl Serialize for RecipientsConfiguration
impl Serialize for RecipientsConfiguration
impl Eq for RecipientsConfiguration
impl StructuralEq for RecipientsConfiguration
impl StructuralPartialEq for RecipientsConfiguration
Auto Trait Implementations
impl RefUnwindSafe for RecipientsConfiguration
impl Send for RecipientsConfiguration
impl Sync for RecipientsConfiguration
impl Unpin for RecipientsConfiguration
impl UnwindSafe for RecipientsConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more