pub struct DeclareItem {
pub this: Box<Expression>,
pub kind: Option<String>,
pub default: Option<Box<Expression>>,
pub has_as: bool,
pub additional_names: Vec<Expression>,
}Expand description
DeclareItem
Fields§
§this: Box<Expression>§kind: Option<String>§default: Option<Box<Expression>>§has_as: bool§additional_names: Vec<Expression>BigQuery: additional variable names in multi-variable DECLARE (DECLARE X, Y, Z INT64)
Trait Implementations§
Source§impl Clone for DeclareItem
impl Clone for DeclareItem
Source§fn clone(&self) -> DeclareItem
fn clone(&self) -> DeclareItem
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 DeclareItem
impl Debug for DeclareItem
Source§impl<'de> Deserialize<'de> for DeclareItem
impl<'de> Deserialize<'de> for DeclareItem
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 DeclareItem
impl PartialEq for DeclareItem
Source§impl Serialize for DeclareItem
impl Serialize for DeclareItem
impl StructuralPartialEq for DeclareItem
Auto Trait Implementations§
impl Freeze for DeclareItem
impl RefUnwindSafe for DeclareItem
impl Send for DeclareItem
impl Sync for DeclareItem
impl Unpin for DeclareItem
impl UnwindSafe for DeclareItem
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