pub struct EnrollInput {
pub address: Option<String>,
pub audience_id: Option<String>,
pub channel: Option<String>,
pub id: Option<String>,
}Fields§
§address: Option<String>Address is a single recipient, normalized (lower-cased, trimmed) before use. Give this OR audienceId, never both and never neither.
audience_id: Option<String>AudienceID fans the sequence out over a saved audience, resolved live to the org’s mailable customers. Email only.
channel: Option<String>Channel is the delivery surface; empty means email. An audience resolves mailboxes, so an audience enroll must be email.
id: Option<String>ID is the sequence id from the path.
Implementations§
Source§impl EnrollInput
impl EnrollInput
pub fn new() -> EnrollInput
Trait Implementations§
Source§impl Clone for EnrollInput
impl Clone for EnrollInput
Source§fn clone(&self) -> EnrollInput
fn clone(&self) -> EnrollInput
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 EnrollInput
impl Debug for EnrollInput
Source§impl Default for EnrollInput
impl Default for EnrollInput
Source§fn default() -> EnrollInput
fn default() -> EnrollInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnrollInput
impl<'de> Deserialize<'de> for EnrollInput
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 EnrollInput
impl PartialEq for EnrollInput
Source§impl Serialize for EnrollInput
impl Serialize for EnrollInput
impl StructuralPartialEq for EnrollInput
Auto Trait Implementations§
impl Freeze for EnrollInput
impl RefUnwindSafe for EnrollInput
impl Send for EnrollInput
impl Sync for EnrollInput
impl Unpin for EnrollInput
impl UnsafeUnpin for EnrollInput
impl UnwindSafe for EnrollInput
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