Struct gapi_grpc::google::cloud::bigquery::storage::v1beta2::WriteStream[][src]

pub struct WriteStream {
    pub name: String,
    pub type: i32,
    pub create_time: Option<Timestamp>,
    pub commit_time: Option<Timestamp>,
    pub table_schema: Option<TableSchema>,
}

Information about a single stream that gets data inside the storage system.

Fields

name: String

Output only. Name of the stream, in the form projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}.

type: i32

Immutable. Type of the stream.

create_time: Option<Timestamp>

Output only. Create time of the stream. For the _default stream, this is the creation_time of the table.

commit_time: Option<Timestamp>

Output only. Commit time of the stream. If a stream is of COMMITTED type, then it will have a commit_time same as create_time. If the stream is of PENDING type, commit_time being empty means it is not committed.

table_schema: Option<TableSchema>

Output only. The schema of the destination table. It is only returned in CreateWriteStream response. Caller should generate data that’s compatible with this schema to send in initial AppendRowsRequest. The table schema could go out of date during the life time of the stream.

Implementations

impl WriteStream[src]

pub fn type(&self) -> Type[src]

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

pub fn set_type(&mut self, value: Type)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for WriteStream[src]

impl Debug for WriteStream[src]

impl Default for WriteStream[src]

impl Message for WriteStream[src]

impl PartialEq<WriteStream> for WriteStream[src]

impl StructuralPartialEq for WriteStream[src]

Auto Trait Implementations

impl RefUnwindSafe for WriteStream

impl Send for WriteStream

impl Sync for WriteStream

impl Unpin for WriteStream

impl UnwindSafe for WriteStream

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]