Struct prql_compiler::ast::expr::FuncParam
pub struct FuncParam {
pub name: String,
pub ty: Option<Ty>,
pub default_value: Option<Box<Expr>>,
}
Fields§
§name: String
§ty: Option<Ty>
§default_value: Option<Box<Expr>>
Trait Implementations§
§impl<'de> Deserialize<'de> for FuncParam
impl<'de> Deserialize<'de> for FuncParam
§fn deserialize<__D>(
__deserializer: __D
) -> Result<FuncParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<FuncParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for FuncParam
impl Serialize for FuncParam
§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 FuncParam
Auto Trait Implementations§
impl RefUnwindSafe for FuncParam
impl Send for FuncParam
impl Sync for FuncParam
impl Unpin for FuncParam
impl UnwindSafe for FuncParam
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