Struct google_api_proto::google::cloud::bigquery::storage::v1beta2::WriteStream
source · pub struct WriteStream {
pub name: String,
pub type: i32,
pub create_time: Option<Timestamp>,
pub commit_time: Option<Timestamp>,
pub table_schema: Option<TableSchema>,
}
Expand description
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§
Trait Implementations§
source§impl Clone for WriteStream
impl Clone for WriteStream
source§fn clone(&self) -> WriteStream
fn clone(&self) -> WriteStream
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WriteStream
impl Debug for WriteStream
source§impl Default for WriteStream
impl Default for WriteStream
source§impl Message for WriteStream
impl Message for WriteStream
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for WriteStream
impl PartialEq for WriteStream
source§fn eq(&self, other: &WriteStream) -> bool
fn eq(&self, other: &WriteStream) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WriteStream
Auto Trait Implementations§
impl Freeze for WriteStream
impl RefUnwindSafe for WriteStream
impl Send for WriteStream
impl Sync for WriteStream
impl Unpin for WriteStream
impl UnwindSafe for WriteStream
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request