pub enum ArrayTypeSpelling {
Bracket,
Keyword,
AngleBracket,
}Expand description
The written surface of an array-type suffix (DataType::Array).
Bracket T[]/T[n] and keyword T ARRAY/T ARRAY[n] name the same canonical
array-type shape; the tag round-trips the written form.
Variants§
Bracket
The bracket suffix T[] / T[n].
Keyword
The ARRAY keyword suffix T ARRAY / T ARRAY[n].
AngleBracket
BigQuery angle-bracket type form ARRAY<T> (type position, prefix).
Trait Implementations§
Source§impl Clone for ArrayTypeSpelling
impl Clone for ArrayTypeSpelling
Source§fn clone(&self) -> ArrayTypeSpelling
fn clone(&self) -> ArrayTypeSpelling
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 moreimpl Copy for ArrayTypeSpelling
Source§impl Debug for ArrayTypeSpelling
impl Debug for ArrayTypeSpelling
Source§impl<'de> Deserialize<'de> for ArrayTypeSpelling
impl<'de> Deserialize<'de> for ArrayTypeSpelling
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 Eq for ArrayTypeSpelling
Source§impl Hash for ArrayTypeSpelling
impl Hash for ArrayTypeSpelling
Source§impl PartialEq for ArrayTypeSpelling
impl PartialEq for ArrayTypeSpelling
Source§impl Serialize for ArrayTypeSpelling
impl Serialize for ArrayTypeSpelling
impl StructuralPartialEq for ArrayTypeSpelling
Auto Trait Implementations§
impl Freeze for ArrayTypeSpelling
impl RefUnwindSafe for ArrayTypeSpelling
impl Send for ArrayTypeSpelling
impl Sync for ArrayTypeSpelling
impl Unpin for ArrayTypeSpelling
impl UnsafeUnpin for ArrayTypeSpelling
impl UnwindSafe for ArrayTypeSpelling
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