Enum sendgrid_api::types::AggregatedBy
source · pub enum AggregatedBy {
Day,
Total,
FallthroughString,
}
Expand description
Dictates how the stats are time-sliced. Currently, "total"
and "day"
are supported.
Variants§
Trait Implementations§
source§impl Clone for AggregatedBy
impl Clone for AggregatedBy
source§fn clone(&self) -> AggregatedBy
fn clone(&self) -> AggregatedBy
Returns a copy 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 AggregatedBy
impl Debug for AggregatedBy
source§impl Default for AggregatedBy
impl Default for AggregatedBy
source§fn default() -> AggregatedBy
fn default() -> AggregatedBy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AggregatedBy
impl<'de> Deserialize<'de> for AggregatedBy
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 Display for AggregatedBy
impl Display for AggregatedBy
source§impl JsonSchema for AggregatedBy
impl JsonSchema for AggregatedBy
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn 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 moresource§impl PartialEq<AggregatedBy> for AggregatedBy
impl PartialEq<AggregatedBy> for AggregatedBy
source§fn eq(&self, other: &AggregatedBy) -> bool
fn eq(&self, other: &AggregatedBy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.