pub struct PivotValue {
pub value: Expr,
pub alias: Option<String>,
}Expand description
A value/column in a PIVOT IN list, optionally aliased.
Fields§
§value: Expr§alias: Option<String>Trait Implementations§
Source§impl Clone for PivotValue
impl Clone for PivotValue
Source§fn clone(&self) -> PivotValue
fn clone(&self) -> PivotValue
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 PivotValue
impl Debug for PivotValue
Source§impl<'de> Deserialize<'de> for PivotValue
impl<'de> Deserialize<'de> for PivotValue
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 PartialEq for PivotValue
impl PartialEq for PivotValue
Source§impl Serialize for PivotValue
impl Serialize for PivotValue
impl StructuralPartialEq for PivotValue
Auto Trait Implementations§
impl Freeze for PivotValue
impl RefUnwindSafe for PivotValue
impl Send for PivotValue
impl Sync for PivotValue
impl Unpin for PivotValue
impl UnsafeUnpin for PivotValue
impl UnwindSafe for PivotValue
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