#[non_exhaustive]pub struct ArgExtras {
pub classes: Option<Vec<String>>,
pub default_asof: bool,
pub default_literal: Option<String>,
pub key_normalisation: Option<KeyNormalisation>,
}Expand description
The spec-0.5.0 members of one argument declaration (7), each absent by default.
ArgDecl has no field for them (it is not #[non_exhaustive], so adding fields would
break the 0.3.x API); they live in FunctionDescriptor::arg_extras, as extent lives in
FunctionDescriptor::extents.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.classes: Option<Vec<String>>classes: a string argument holding an object key of one of these classes (full class
names, ascending and unique, at least one; 16.6).
default_asof: booldefault: true when the declaration says "default": "asof", on a valid-time date or
instant argument (16.7).
default_literal: Option<String>default as a literal (K13, the classes round): the lexical value of the argument’s
type that the declaration gives ("1" for a number, "main" for a string, "true" for a
boolean), as written. None when there is no literal default. Never "asof", which is
ArgExtras::default_asof. Hashed, as the rest of the descriptor (7).
key_normalisation: Option<KeyNormalisation>key_normalisation of a string argument without classes: never
KeyNormalisation::NoRule. An absent member means none, so "none" written out is
E_SCHEMA.