pub struct Argument {
pub argument_kind: Option<String>,
pub data_type: Option<StandardSqlDataType>,
pub is_aggregate: Option<bool>,
pub mode: Option<String>,
pub name: Option<String>,
}Expand description
Input/output argument of a function or a stored procedure.
This type is not used in any activity, and only used as part of another schema.
Fields§
§argument_kind: Option<String>Optional. Defaults to FIXED_TYPE.
data_type: Option<StandardSqlDataType>Set if argument_kind == FIXED_TYPE.
is_aggregate: Option<bool>Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding “NOT AGGREGATE” clause in DDL; Otherwise, it is equivalent to omitting “NOT AGGREGATE” clause in DDL.
mode: Option<String>Optional. Specifies whether the argument is input or output. Can be set for procedures only.
name: Option<String>Optional. The name of this argument. Can be absent for function return argument.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Argument
impl<'de> Deserialize<'de> for Argument
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
impl Part for Argument
Auto Trait Implementations§
impl Freeze for Argument
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnwindSafe for Argument
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