Struct prql_compiler::ast::pl::expr::ClosureParam
source · pub struct ClosureParam {
pub name: String,
pub ty: Option<Ty>,
pub default_value: Option<Expr>,
}Fields§
§name: String§ty: Option<Ty>§default_value: Option<Expr>Trait Implementations§
source§impl Clone for ClosureParam
impl Clone for ClosureParam
source§fn clone(&self) -> ClosureParam
fn clone(&self) -> ClosureParam
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 ClosureParam
impl Debug for ClosureParam
source§impl<'de> Deserialize<'de> for ClosureParam
impl<'de> Deserialize<'de> for ClosureParam
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<ClosureParam> for ClosureParam
impl PartialEq<ClosureParam> for ClosureParam
source§fn eq(&self, other: &ClosureParam) -> bool
fn eq(&self, other: &ClosureParam) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ClosureParam
impl Serialize for ClosureParam
impl StructuralPartialEq for ClosureParam
Auto Trait Implementations§
impl RefUnwindSafe for ClosureParam
impl Send for ClosureParam
impl Sync for ClosureParam
impl Unpin for ClosureParam
impl UnwindSafe for ClosureParam
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