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

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
The name of the generated JSON Schema. Read more
Generates a JSON Schema for this type. Read more
Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Attaches the current Context to this type, returning a WithContext wrapper. Read more
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more