Struct mailchimp_api::types::Batch
source · pub struct Batch {
pub links: Vec<Links>,
pub completed_at: Option<DateTime<Utc>>,
pub errored_operations: i64,
pub finished_operations: i64,
pub id: String,
pub response_body_url: String,
pub status: Option<BatchOperationsStatus>,
pub submitted_at: Option<DateTime<Utc>>,
pub total_operations: i64,
}
Expand description
The status of a batch request
Fields
links: Vec<Links>
The status of a batch request
completed_at: Option<DateTime<Utc>>
The status of a batch request
errored_operations: i64
The status of a batch request
finished_operations: i64
The status of a batch request
id: String
The status of a batch request
response_body_url: String
The status of a batch request
status: Option<BatchOperationsStatus>
The status of a batch request
submitted_at: Option<DateTime<Utc>>
The status of a batch request
total_operations: i64
The status of a batch request
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Batch
impl<'de> Deserialize<'de> for Batch
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 Batch
impl JsonSchema for Batch
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 Batch
Auto Trait Implementations
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnwindSafe for Batch
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