[][src]Struct mailchimp::types::Conversation

pub struct Conversation {
    pub id: String,
    pub message_count: u64,
    pub campaign_id: String,
    pub list_id: String,
    pub unread_messages: u64,
    pub from_label: String,
    pub from_email: String,
    pub subject: String,
    pub last_message: ConversationMessage,
    pub _links: Vec<LinkType>,
    // some fields omitted
}

Conversation tracking is a paid feature that lets you view subscribers’ replies to your campaigns in your Mailchimp account.

Fields

id: String

A string that uniquely identifies this conversation.

message_count: u64

The total number of messages in this conversation.

campaign_id: String

The unique identifier of the campaign for this conversation.

list_id: String

The unique identifier of the list for this conversation.

unread_messages: u64

The number of unread messages in this conversation.

from_label: String

A label representing the sender of this message.

from_email: String

A label representing the email of the sender of this message.

subject: String

The subject of the message.

last_message: ConversationMessage

The most recent message in the conversation.

_links: Vec<LinkType>

A list of link types and descriptions for the API schema documents.

Methods

impl Conversation[src]

pub fn create_message(
    &self,
    message: ParamMessage
) -> Result<ConversationMessage, MailchimpErrorType>
[src]

Post a new message to a conversation.

Important traits for MalchimpIter<B>
pub fn get_conversation_messages(
    &self,
    filter: Option<MessagesFilter>
) -> MalchimpIter<MessagesBuider>
[src]

Get conversation messages

pub fn get_conversation_message<'a>(
    &self,
    message_id: &'a str
) -> Result<ConversationMessage, MailchimpErrorType>
[src]

Get a specific conversation message

pub fn set_api(&mut self, n_api: &MailchimpApi)[src]

Trait Implementations

impl MailchimpCollection<Conversation> for CollectionConversations[src]

fn get_total_items(&self) -> u64[src]

Total Items

fn get_values(&self) -> Vec<Conversation>[src]

Data

impl Clone for Conversation[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Conversation[src]

impl Serialize for Conversation[src]

impl<'de> Deserialize<'de> for Conversation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err