Struct spanner_rs::StructType [−][src]
pub struct StructType(_);Expand description
The Cloud Spanner Struct type which is composed of optionally named fields and their data type.
Implementations
Creates a new StructType with the provided fields.
Note that Cloud Spanner allows “unnamed” fields. If a provided field name is the empty string,
it will be converted to a None in the resulting StructType.
Returns a reference to this struct’s fields.
Returns an iterator over the names of this struct’s fields.
Returns an iterator over the types of this struct’s fields.
Returns the index of the provided field name.
Returns None if no field matches the provided name.
Note that this function ignores unnamed fields.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for StructType
impl Send for StructType
impl Sync for StructType
impl Unpin for StructType
impl UnwindSafe for StructType
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more