#[non_exhaustive]pub struct ZbManagedEmailContent {
pub company_name: Option<String>,
pub company_website: Option<String>,
pub company_description: Option<String>,
pub types_of_emails: Vec<String>,
pub example_email: Option<String>,
}Expand description
The email_content of a zb_managed sending account: the company context
ZeroBounce uses to write the warmup emails. Each field is sent only when set.
#[non_exhaustive], so a field added later is not a breaking change: start
from ZbManagedEmailContent::default() and set the fields you need.
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.company_name: Option<String>§company_website: Option<String>§company_description: Option<String>§types_of_emails: Vec<String>Any of transactional, newsletter, marketing. Not sent when empty.
example_email: Option<String>Trait Implementations§
Source§impl Clone for ZbManagedEmailContent
impl Clone for ZbManagedEmailContent
Source§impl Debug for ZbManagedEmailContent
impl Debug for ZbManagedEmailContent
Source§impl Default for ZbManagedEmailContent
impl Default for ZbManagedEmailContent
Source§impl PartialEq for ZbManagedEmailContent
impl PartialEq for ZbManagedEmailContent
impl StructuralPartialEq for ZbManagedEmailContent
Auto Trait Implementations§
impl Forget for ZbManagedEmailContent
impl Freeze for ZbManagedEmailContent
impl Move for ZbManagedEmailContent
impl RefUnwindSafe for ZbManagedEmailContent
impl Send for ZbManagedEmailContent
impl Sync for ZbManagedEmailContent
impl Unpin for ZbManagedEmailContent
impl UnsafeUnpin for ZbManagedEmailContent
impl UnwindSafe for ZbManagedEmailContent
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