pub struct ExprProjection {
pub alias: String,
pub expr: Expr,
}Expand description
Expression-backed projection.
Fields§
§alias: StringOutput name.
expr: ExprExpression.
Implementations§
Trait Implementations§
Source§impl Clone for ExprProjection
impl Clone for ExprProjection
Source§fn clone(&self) -> ExprProjection
fn clone(&self) -> ExprProjection
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 ExprProjection
impl Debug for ExprProjection
Source§impl<'de> Deserialize<'de> for ExprProjection
impl<'de> Deserialize<'de> for ExprProjection
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExprProjection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExprProjection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ExprProjection> for Projection
impl From<ExprProjection> for Projection
Source§fn from(value: ExprProjection) -> Projection
fn from(value: ExprProjection) -> Projection
Converts to this type from the input type.
Source§impl PartialEq for ExprProjection
impl PartialEq for ExprProjection
Source§impl Serialize for ExprProjection
impl Serialize for ExprProjection
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ExprProjection
Auto Trait Implementations§
impl Freeze for ExprProjection
impl RefUnwindSafe for ExprProjection
impl Send for ExprProjection
impl Sync for ExprProjection
impl Unpin for ExprProjection
impl UnsafeUnpin for ExprProjection
impl UnwindSafe for ExprProjection
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