Enum mailchimp_api::types::ActivityOneOf
source · pub enum ActivityOneOf {
Show 17 variants
EmailOpens(EmailOpens),
EmailClicks(EmailClicks),
EmailBounced(EmailBounced),
ListUnsubscribed(ListUnsubscribed),
EmailSent(EmailSent),
EmailConversation(EmailConversation),
Note(Note),
MarketingPermissionData(MarketingPermissionData),
PostcardSent(PostcardSent),
SquatterSignup(SquatterSignup),
WebsiteSignup(WebsiteSignup),
LandingPageSignup(LandingPageSignup),
EcommerceSignup(EcommerceSignup),
GenericSignup(GenericSignup),
EcommerceOrder(EcommerceOrder),
ContactActivityEvent(ContactActivityEvent),
SurveyResponse(SurveyResponse),
}
Expand description
All of the following types:
EmailOpens
EmailClicks
EmailBounced
ListUnsubscribed
EmailSent
EmailConversation
Note
MarketingPermissionData
PostcardSent
SquatterSignup
WebsiteSignup
LandingPageSignup
EcommerceSignup
GenericSignup
EcommerceOrder
ContactActivityEvent
SurveyResponse
You can easily convert this enum to the inner value with From
and Into
, as both are implemented for each type.
Variants
EmailOpens(EmailOpens)
Activity feed item representing opening an email.
EmailClicks(EmailClicks)
Activity feed item representing having a link clicked by a contact.
EmailBounced(EmailBounced)
Activity feed item representing an email to this contact bouncing.
ListUnsubscribed(ListUnsubscribed)
Activity feed item representing this contact unsubscribing from a list.
EmailSent(EmailSent)
Activity feed item representing having an email sent to the contact.
EmailConversation(EmailConversation)
Activity feed item representing an individual reply in a conversation.
Note(Note)
Activity feed item representing a note on the contact record.
MarketingPermissionData(MarketingPermissionData)
Activity feed item indicating if a marketing permission was added or updated.
PostcardSent(PostcardSent)
Activity feed item representing a time when a contact was sent a particular postcard.
SquatterSignup(SquatterSignup)
Activity feed item to representing a contact signing up for the audience from a squatter page.
WebsiteSignup(WebsiteSignup)
Activity feed item to representing a contact signing up for the contact through a website page.
LandingPageSignup(LandingPageSignup)
Activity feed item to representing a contact signing up for the list via a landing page.
EcommerceSignup(EcommerceSignup)
Activity feed item to representing a contact signing up for the list via a ecommerce store.
GenericSignup(GenericSignup)
Activity feed item that represents a contact signing up for the audience via a generic some generic method (specifically, one we can’t link to).
EcommerceOrder(EcommerceOrder)
Activity feed item that represents an order.
ContactActivityEvent(ContactActivityEvent)
Activity feed item that represents a generic event.
SurveyResponse(SurveyResponse)
Represents when a contact completes and submits a survey
Implementations
sourceimpl ActivityOneOf
impl ActivityOneOf
pub fn contact_activity_event(&self) -> Option<&ContactActivityEvent>
pub fn ecommerce_order(&self) -> Option<&EcommerceOrder>
pub fn ecommerce_signup(&self) -> Option<&EcommerceSignup>
pub fn email_bounced(&self) -> Option<&EmailBounced>
pub fn email_clicks(&self) -> Option<&EmailClicks>
pub fn email_conversation(&self) -> Option<&EmailConversation>
pub fn email_opens(&self) -> Option<&EmailOpens>
pub fn email_sent(&self) -> Option<&EmailSent>
pub fn generic_signup(&self) -> Option<&GenericSignup>
pub fn landing_page_signup(&self) -> Option<&LandingPageSignup>
pub fn list_unsubscribed(&self) -> Option<&ListUnsubscribed>
pub fn marketing_permission_data(&self) -> Option<&MarketingPermissionData>
pub fn note(&self) -> Option<&Note>
pub fn postcard_sent(&self) -> Option<&PostcardSent>
pub fn squatter_signup(&self) -> Option<&SquatterSignup>
pub fn survey_response(&self) -> Option<&SurveyResponse>
pub fn website_signup(&self) -> Option<&WebsiteSignup>
Trait Implementations
sourceimpl Clone for ActivityOneOf
impl Clone for ActivityOneOf
sourcefn clone(&self) -> ActivityOneOf
fn clone(&self) -> ActivityOneOf
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for ActivityOneOf
impl Debug for ActivityOneOf
sourceimpl<'de> Deserialize<'de> for ActivityOneOf
impl<'de> Deserialize<'de> for ActivityOneOf
sourcefn 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>,
sourceimpl JsonSchema for ActivityOneOf
impl JsonSchema for ActivityOneOf
sourcefn schema_name() -> String
fn schema_name() -> String
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more