[][src]Struct google_spanner1::Type

pub struct Type {
    pub struct_type: Option<StructType>,
    pub code: Option<String>,
    pub array_element_type: Option<Option<Box<Type>>>,
}

Type indicates the type of a Cloud Spanner value, as might be stored in a table cell or returned from an SQL query.

This type is not used in any activity, and only used as part of another schema.

Fields

struct_type: Option<StructType>

If code == STRUCT, then struct_type provides type information for the struct's fields.

code: Option<String>

Required. The TypeCode for this type.

array_element_type: Option<Option<Box<Type>>>

If code == ARRAY, then array_element_type is the type of the array elements.

Trait Implementations

impl Part for Type[src]

impl Clone for Type[src]

impl Default for Type[src]

impl Debug for Type[src]

impl Serialize for Type[src]

impl<'de> Deserialize<'de> for Type[src]

Auto Trait Implementations

impl Send for Type

impl Sync for Type

impl Unpin for Type

impl UnwindSafe for Type

impl RefUnwindSafe for Type

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]