pub struct ListMemberNote {
pub id: u64,
pub created_at: String,
pub created_by: String,
pub updated_at: String,
pub note: String,
pub list_id: String,
pub email_id: String,
pub _links: Vec<LinkType>,
/* private fields */
}
Expand description
Member Notes
Retrieve recent notes for a specific list member.
Fields§
§id: u64
The note id.
created_at: String
The date and time the note was created in ISO 8601 format.
created_by: String
The author of the note.
updated_at: String
The date and time the note was last updated in ISO 8601 format.
note: String
The content of the note.
list_id: String
The unique id for the list.
email_id: String
The MD5 hash of the lowercase version of the list member’s email address.
_links: Vec<LinkType>
A list of link types and descriptions for the API schema documents.
Implementations§
Source§impl ListMemberNote
impl ListMemberNote
Sourcepub fn set_api(&mut self, n_api: Rc<MailchimpApi>)
pub fn set_api(&mut self, n_api: Rc<MailchimpApi>)
Update the api instance
Sourcepub fn set_endpoint<'a>(&mut self, n_endpoint: &'a str)
pub fn set_endpoint<'a>(&mut self, n_endpoint: &'a str)
Update the endpoint value
Sourcepub fn delete(&self) -> Option<MailchimpErrorType>
pub fn delete(&self) -> Option<MailchimpErrorType>
Delete a specific note for a specific list member.
Sourcepub fn update<'a>(
&self,
note: &'a str,
) -> Result<ListMemberNote, MailchimpErrorType>
pub fn update<'a>( &self, note: &'a str, ) -> Result<ListMemberNote, MailchimpErrorType>
Update a specific note for a specific list member.
Arguments: note: The content of the note. Note length is limited to 1,000 characters.
Trait Implementations§
Source§impl Clone for ListMemberNote
impl Clone for ListMemberNote
Source§fn clone(&self) -> ListMemberNote
fn clone(&self) -> ListMemberNote
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ListMemberNote
impl Debug for ListMemberNote
Source§impl<'de> Deserialize<'de> for ListMemberNote
impl<'de> Deserialize<'de> for ListMemberNote
Source§fn 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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MailchimpCollection<ListMemberNote> for CollectionListMemberNote
impl MailchimpCollection<ListMemberNote> for CollectionListMemberNote
Source§fn get_total_items(&self) -> u64
fn get_total_items(&self) -> u64
Total Items
Source§fn get_values(&self) -> Vec<ListMemberNote>
fn get_values(&self) -> Vec<ListMemberNote>
Data
Auto Trait Implementations§
impl Freeze for ListMemberNote
impl RefUnwindSafe for ListMemberNote
impl !Send for ListMemberNote
impl !Sync for ListMemberNote
impl Unpin for ListMemberNote
impl UnwindSafe for ListMemberNote
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more