pub struct ContactsList {
pub is_deleted: bool,
pub name: String,
pub address: String,
pub created_at: String,
pub id: i128,
pub subscriber_count: i64,
}
Expand description
A contact list information
Fields§
§is_deleted: bool
When true, the contact list will be marked as Deleted
Deleted lists can later be reinstated by updating this value to false
name: String
User-specified name for this contact list (must be unique)
address: String
Unique email address generated by Mailjet, which can be used only via Mailjet’s SMTP server to reach all contacts in the list
created_at: String
Timestamp of when the contact list was created
id: i128
Unique numeric ID assigned to this contact list
subscriber_count: i64
Number of contacts registered in this contact list
Includes contacts that were unsubscribed from the list, as well as excluded ones
Trait Implementations§
Source§impl Default for ContactsList
impl Default for ContactsList
Source§fn default() -> ContactsList
fn default() -> ContactsList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContactsList
impl<'de> Deserialize<'de> for ContactsList
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
Auto Trait Implementations§
impl Freeze for ContactsList
impl RefUnwindSafe for ContactsList
impl Send for ContactsList
impl Sync for ContactsList
impl Unpin for ContactsList
impl UnwindSafe for ContactsList
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