pub enum ColumnMode {
Nullable,
Required,
Repeated,
}
Expand description
Field cardinality modes for BigQuery schema fields.
Variants§
Nullable
Field may contain null values.
Required
Field must always contain a value.
Repeated
Field contains an array of values.
Trait Implementations§
Source§impl Clone for ColumnMode
impl Clone for ColumnMode
Source§fn clone(&self) -> ColumnMode
fn clone(&self) -> ColumnMode
Returns a duplicate 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 ColumnMode
impl Debug for ColumnMode
Source§impl From<ColumnMode> for Label
impl From<ColumnMode> for Label
Source§fn from(value: ColumnMode) -> Self
fn from(value: ColumnMode) -> Self
Converts ColumnMode
to protobuf Label
enum value.
Maps field cardinality modes to their corresponding protobuf labels used in BigQuery Storage Write API schema definitions.
impl Copy for ColumnMode
Auto Trait Implementations§
impl Freeze for ColumnMode
impl RefUnwindSafe for ColumnMode
impl Send for ColumnMode
impl Sync for ColumnMode
impl Unpin for ColumnMode
impl UnwindSafe for ColumnMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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