pub struct DefineParam {
pub name: Spanned<String>,
pub value: Option<Spanned<Expr>>,
}Expand description
DEFINE PARAM — a database-level parameter with a default value.
Fields§
§name: Spanned<String>The parameter name (without $).
value: Option<Spanned<Expr>>VALUE <expr> — the parameter’s value.
Trait Implementations§
Source§impl Clone for DefineParam
impl Clone for DefineParam
Source§fn clone(&self) -> DefineParam
fn clone(&self) -> DefineParam
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 DefineParam
impl Debug for DefineParam
Source§impl PartialEq for DefineParam
impl PartialEq for DefineParam
impl StructuralPartialEq for DefineParam
Auto Trait Implementations§
impl Freeze for DefineParam
impl RefUnwindSafe for DefineParam
impl Send for DefineParam
impl Sync for DefineParam
impl Unpin for DefineParam
impl UnsafeUnpin for DefineParam
impl UnwindSafe for DefineParam
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