[−][src]Struct mailchimp::types::ListMember
Get information about a specific list member, including a currently subscribed, unsubscribed, or bounced member.
Fields
id: String
The MD5 hash of the lowercase version of the list member’s email address.
email_address: String
Email address for a subscriber.
unique_email_id: String
An identifier for the address across all of Mailchimp.
email_type: String
Type of email this member asked to get (‘html’ or ‘text’).
status: String
Subscriber’s current status.
unsubscribe_reason: String
A subscriber’s reason for unsubscribing.
merge_fields: HashMap<String, String>
An individual merge var and value for a member.
interests: HashMap<String, String>
The key of this object’s properties is the ID of the interest in question.
stats: SubscriberStats
Open and click rates for this subscriber.
timestamp_signup: String
The date and time the subscriber signed up for the list in ISO 8601 format.
ip_opt: String
The IP address the subscriber used to confirm their opt-in status.
timestamp_opt: String
The date and time the subscribe confirmed their opt-in status in ISO 8601 format.
member_rating: u64
Star rating for this member, between 1 and 5.
last_changed: String
The date and time the member’s info was last changed in ISO 8601 format.
language: String
If set/detected, the subscriber’s language.
vip: bool
VIP status for subscriber.
email_client: String
The list member’s email client.
location: SubscriberLocation
Subscriber location information.
marketing_permissions: Vec<ListMarketingPermision>
The marketing permissions for the subscriber.
last_note: ListNote
The most recent Note added about this member.
The number of tags applied to this member.
The tags applied to this member.
ip_signup: String
IP address the subscriber signed up from.
list_id: String
The list id.
_links: Vec<LinkType>
A list of link types and descriptions for the API schema documents.
Methods
impl ListMember
[src]
pub fn permanently_delete(&self) -> Option<MailchimpErrorType>
[src]
Permanently delete a list member
Delete all personally identifiable information related to a list member, and remove them from a list. This will make it impossible to re-import the list member.
pub fn delete(&self) -> Option<MailchimpErrorType>
[src]
Permanently delete a list member
Delete a member from a list.
pub fn set_api(&mut self, n_api: &MailchimpApi)
[src]
Update API
pub fn set_endpoint<'a>(&mut self, n_endpoint: &'a str)
[src]
Set new value for endpoint
Argumentos: n_endpoint: Nuevo Endpoint
pub fn get_base_endpoint(&self) -> String
[src]
Get resource endpoint
ⓘImportant traits for MalchimpIter<B>pub fn get_activity(&self) -> MalchimpIter<ListMemberActivityBuilder>
[src]
Get details about subscribers’ recent activity.
ⓘImportant traits for MalchimpIter<B>pub fn get_goals(&self) -> MalchimpIter<ListMemberGoalBuilder>
[src]
Get information about recent goal events for a specific list member.
Arguments: subscriber_hash: The MD5 hash of the lowercase version of the list member’s email address.
ⓘImportant traits for MalchimpIter<B>pub fn get_tags(&self) -> MalchimpIter<ListMemberTagBuilder>
[src]
Get the tags on a list member.
pub fn post_tag(
&self,
tags: Vec<ListMemberTagType>
) -> Option<MailchimpErrorType>
[src]
&self,
tags: Vec<ListMemberTagType>
) -> Option<MailchimpErrorType>
Post the tags on a list member.
Add or remove tags from a list member. If a tag that does not exist is passed in and set as ‘active’, a new tag will be created.
ⓘImportant traits for MalchimpIter<B>pub fn get_notes(
&self,
filters: Option<SimpleFilter>
) -> MalchimpIter<ListMemberNoteBuilder>
[src]
&self,
filters: Option<SimpleFilter>
) -> MalchimpIter<ListMemberNoteBuilder>
Get recent notes for a specific list member
Arguments: filters
pub fn get_specific_note<'a>(
&self,
note_id: &'a str
) -> Result<ListMemberNote, MailchimpErrorType>
[src]
&self,
note_id: &'a str
) -> Result<ListMemberNote, MailchimpErrorType>
Get details about subscribers’ recent activity.
Argument: note_id: The id for the note.
pub fn create_note<'a>(
&self,
note: &'a str
) -> Result<ListMemberNote, MailchimpErrorType>
[src]
&self,
note: &'a str
) -> Result<ListMemberNote, MailchimpErrorType>
Add a new note for a specific subscriber.
Argument: note: The content of the note. Note length is limited to 1,000 characters.
Trait Implementations
impl MailchimpCollection<ListMember> for CollectionListMembers
[src]
impl MailchimpCollection<ListMember> for CollectionListSegmentMembers
[src]
impl Clone for ListMember
[src]
fn clone(&self) -> ListMember
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ListMember
[src]
impl Serialize for ListMember
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for ListMember
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for ListMember
impl Sync for ListMember
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>,