Struct mailchimp_api::types::Segments
source · pub struct Segments {
pub links: Vec<Links>,
pub created_at: Option<DateTime<Utc>>,
pub id: i64,
pub list_id: String,
pub member_count: i64,
pub name: String,
pub options: Option<Options>,
pub type_: Option<CollectionOfSegmentsType>,
pub updated_at: Option<DateTime<Utc>>,
}
Expand description
Information about a specific segment.
Fields
links: Vec<Links>
Information about a specific segment.
created_at: Option<DateTime<Utc>>
Information about a specific segment.
id: i64
Information about a specific segment.
list_id: String
Information about a specific segment.
member_count: i64
Information about a specific segment.
name: String
Information about a specific segment.
options: Option<Options>
Information about a specific segment.
type_: Option<CollectionOfSegmentsType>
Information about a specific segment.
updated_at: Option<DateTime<Utc>>
Information about a specific segment.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Segments
impl<'de> Deserialize<'de> for Segments
sourcefn 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
sourceimpl JsonSchema for Segments
impl JsonSchema for Segments
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreimpl StructuralPartialEq for Segments
Auto Trait Implementations
impl RefUnwindSafe for Segments
impl Send for Segments
impl Sync for Segments
impl Unpin for Segments
impl UnwindSafe for Segments
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more