pub struct CoercibleSelectField {
pub field: CoercibleField,
pub aggregate: Option<AggregateFunction>,
pub aggregate_cast: Option<String>,
pub cast: Option<String>,
pub alias: Option<String>,
}Expand description
A select field with coercion and aggregation.
Fields§
§field: CoercibleFieldThe field
aggregate: Option<AggregateFunction>Aggregate function
aggregate_cast: Option<String>Cast for aggregate result
cast: Option<String>Output cast
alias: Option<String>Output alias
Implementations§
Trait Implementations§
Source§impl Clone for CoercibleSelectField
impl Clone for CoercibleSelectField
Source§fn clone(&self) -> CoercibleSelectField
fn clone(&self) -> CoercibleSelectField
Returns a duplicate 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 CoercibleSelectField
impl Debug for CoercibleSelectField
Source§impl<'de> Deserialize<'de> for CoercibleSelectField
impl<'de> Deserialize<'de> for CoercibleSelectField
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 CoercibleSelectField
impl RefUnwindSafe for CoercibleSelectField
impl Send for CoercibleSelectField
impl Sync for CoercibleSelectField
impl Unpin for CoercibleSelectField
impl UnwindSafe for CoercibleSelectField
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more