[][src]Struct gcp_client::google::spanner::v1::KeySet

pub struct KeySet {
    pub keys: Vec<ListValue>,
    pub ranges: Vec<KeyRange>,
    pub all: bool,
}

KeySet defines a collection of Cloud Spanner keys and/or key ranges. All the keys are expected to be in the same table or index. The keys need not be sorted in any particular way.

If the same key is specified multiple times in the set (for example if two ranges, two keys, or a key and a range overlap), Cloud Spanner behaves as if the key were only specified once.

Fields

keys: Vec<ListValue>

A list of specific keys. Entries in keys should have exactly as many elements as there are columns in the primary or index key with which this KeySet is used. Individual key values are encoded as described [here][google.spanner.v1.TypeCode].

ranges: Vec<KeyRange>

A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about key range specifications.

all: bool

For convenience all can be set to true to indicate that this KeySet matches all keys in the table or index. Note that any keys specified in keys or ranges are only yielded once.

Trait Implementations

impl Clone for KeySet[src]

impl Debug for KeySet[src]

impl Default for KeySet[src]

impl Message for KeySet[src]

impl PartialEq<KeySet> for KeySet[src]

impl StructuralPartialEq for KeySet[src]

Auto Trait Implementations

impl RefUnwindSafe for KeySet

impl Send for KeySet

impl Sync for KeySet

impl Unpin for KeySet

impl UnwindSafe for KeySet

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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 = Infallible

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]