Struct google_api_proto::google::cloud::bigquery::v2::QueryTimelineSample
source · pub struct QueryTimelineSample {
pub elapsed_ms: Option<i64>,
pub total_slot_ms: Option<i64>,
pub pending_units: Option<i64>,
pub completed_units: Option<i64>,
pub active_units: Option<i64>,
pub estimated_runnable_units: Option<i64>,
}
Expand description
Summary of the state of query execution at a given time.
Fields§
§elapsed_ms: Option<i64>
Milliseconds elapsed since the start of query execution.
total_slot_ms: Option<i64>
Cumulative slot-ms consumed by the query.
pending_units: Option<i64>
Total units of work remaining for the query. This number can be revised (increased or decreased) while the query is running.
completed_units: Option<i64>
Total parallel units of work completed by this query.
active_units: Option<i64>
Total number of active workers. This does not correspond directly to slot usage. This is the largest value observed since the last sample.
estimated_runnable_units: Option<i64>
Units of work that can be scheduled immediately. Providing additional slots for these units of work will accelerate the query, if no other query in the reservation needs additional slots.
Trait Implementations§
source§impl Clone for QueryTimelineSample
impl Clone for QueryTimelineSample
source§fn clone(&self) -> QueryTimelineSample
fn clone(&self) -> QueryTimelineSample
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QueryTimelineSample
impl Debug for QueryTimelineSample
source§impl Default for QueryTimelineSample
impl Default for QueryTimelineSample
source§impl Message for QueryTimelineSample
impl Message for QueryTimelineSample
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl PartialEq for QueryTimelineSample
impl PartialEq for QueryTimelineSample
source§fn eq(&self, other: &QueryTimelineSample) -> bool
fn eq(&self, other: &QueryTimelineSample) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for QueryTimelineSample
impl StructuralPartialEq for QueryTimelineSample
Auto Trait Implementations§
impl Freeze for QueryTimelineSample
impl RefUnwindSafe for QueryTimelineSample
impl Send for QueryTimelineSample
impl Sync for QueryTimelineSample
impl Unpin for QueryTimelineSample
impl UnwindSafe for QueryTimelineSample
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request