Struct google_api_proto::google::cloud::bigquery::storage::v1beta1::StreamStatus
source · pub struct StreamStatus {
pub estimated_row_count: i64,
pub fraction_consumed: f32,
pub progress: Option<Progress>,
pub is_splittable: bool,
}
Expand description
Progress information for a given Stream.
Fields§
§estimated_row_count: i64
Number of estimated rows in the current stream. May change over time as different readers in the stream progress at rates which are relatively fast or slow.
fraction_consumed: f32
A value in the range [0.0, 1.0] that represents the fraction of rows assigned to this stream that have been processed by the server. In the presence of read filters, the server may process more rows than it returns, so this value reflects progress through the pre-filtering rows.
This value is only populated for sessions created through the BALANCED sharding strategy.
progress: Option<Progress>
Represents the progress of the current stream.
is_splittable: bool
Whether this stream can be split. For sessions that use the LIQUID sharding strategy, this value is always false. For BALANCED sessions, this value is false when enough data have been read such that no more splits are possible at that point or beyond. For small tables or streams that are the result of a chain of splits, this value may never be true.
Trait Implementations§
source§impl Clone for StreamStatus
impl Clone for StreamStatus
source§fn clone(&self) -> StreamStatus
fn clone(&self) -> StreamStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamStatus
impl Debug for StreamStatus
source§impl Default for StreamStatus
impl Default for StreamStatus
source§impl Message for StreamStatus
impl Message for StreamStatus
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 StreamStatus
impl PartialEq for StreamStatus
source§fn eq(&self, other: &StreamStatus) -> bool
fn eq(&self, other: &StreamStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for StreamStatus
impl StructuralPartialEq for StreamStatus
Auto Trait Implementations§
impl Freeze for StreamStatus
impl RefUnwindSafe for StreamStatus
impl Send for StreamStatus
impl Sync for StreamStatus
impl Unpin for StreamStatus
impl UnwindSafe for StreamStatus
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