[−][src]Struct mailchimp::types::Conversation
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]
&self,
message: ParamMessage
) -> Result<ConversationMessage, MailchimpErrorType>
Post a new message to a conversation.
ⓘImportant traits for MalchimpIter<B>pub fn get_conversation_messages(
&self,
filter: Option<MessagesFilter>
) -> MalchimpIter<MessagesBuider>
[src]
&self,
filter: Option<MessagesFilter>
) -> MalchimpIter<MessagesBuider>
Get conversation messages
pub fn get_conversation_message<'a>(
&self,
message_id: &'a str
) -> Result<ConversationMessage, MailchimpErrorType>
[src]
&self,
message_id: &'a str
) -> Result<ConversationMessage, MailchimpErrorType>
Get a specific conversation message
pub fn set_api(&mut self, n_api: &MailchimpApi)
[src]
Trait Implementations
impl MailchimpCollection<Conversation> for CollectionConversations
[src]
impl Clone for Conversation
[src]
fn clone(&self) -> 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]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Conversation
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Conversation
impl Sync for Conversation
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
U: TryFrom<T>,