pub struct AggregationGroupBy {
pub abi: Option<AbiSchema>,
pub field: String,
pub field_source: String,
}Expand description
A grouping configuration for an aggregation. Maximum of 2 group_by fields allowed.
JSON schema
{
"title": "AggregationGroupBy",
"description": "A grouping configuration for an aggregation. Maximum of
2 group_by fields allowed.",
"type": "object",
"required": [
"field",
"field_source"
],
"properties": {
"abi": {
"$ref": "#/components/schemas/AbiSchema"
},
"field": {
"type": "string"
},
"field_source": {
"type": "string"
}
},
"x-stainless-model": "aggregations.aggregation_group_by"
}Fields§
§abi: Option<AbiSchema>§field: String§field_source: StringTrait Implementations§
Source§impl Clone for AggregationGroupBy
impl Clone for AggregationGroupBy
Source§fn clone(&self) -> AggregationGroupBy
fn clone(&self) -> AggregationGroupBy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AggregationGroupBy
impl Debug for AggregationGroupBy
Source§impl<'de> Deserialize<'de> for AggregationGroupBy
impl<'de> Deserialize<'de> for AggregationGroupBy
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 From<&AggregationGroupBy> for AggregationGroupBy
impl From<&AggregationGroupBy> for AggregationGroupBy
Source§fn from(value: &AggregationGroupBy) -> Self
fn from(value: &AggregationGroupBy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AggregationGroupBy
impl RefUnwindSafe for AggregationGroupBy
impl Send for AggregationGroupBy
impl Sync for AggregationGroupBy
impl Unpin for AggregationGroupBy
impl UnsafeUnpin for AggregationGroupBy
impl UnwindSafe for AggregationGroupBy
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