[][src]Struct gcp_client::google::bigtable::admin::table::v1::Table

pub struct Table {
    pub name: String,
    pub current_operation: Option<Operation>,
    pub column_families: HashMap<String, ColumnFamily>,
    pub granularity: i32,
}

A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.

Fields

name: String

A unique identifier of the form <cluster_name>/tables/[a-zA-Z0-9][-.a-zA-Z0-9]*

current_operation: Option<Operation>

If this Table is in the process of being created, the Operation used to track its progress. As long as this operation is present, the Table will not accept any Table Admin or Read/Write requests.

column_families: HashMap<String, ColumnFamily>

The column families configured for this table, mapped by column family id.

granularity: i32

The granularity (e.g. MILLIS, MICROS) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. Cannot be changed once the table is created.

Implementations

impl Table[src]

pub fn granularity(&self) -> TimestampGranularity[src]

Returns the enum value of granularity, or the default if the field is set to an invalid enum value.

pub fn set_granularity(&mut self, value: TimestampGranularity)[src]

Sets granularity to the provided enum value.

Trait Implementations

impl Clone for Table[src]

impl Debug for Table[src]

impl Default for Table[src]

impl Message for Table[src]

impl PartialEq<Table> for Table[src]

impl StructuralPartialEq for Table[src]

Auto Trait Implementations

impl RefUnwindSafe for Table

impl Send for Table

impl Sync for Table

impl Unpin for Table

impl UnwindSafe for Table

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]