#[non_exhaustive]pub enum MissingValueInterpretation {
Unspecified,
NullValue,
DefaultValue,
UnknownValue(UnknownValue),
}Expand description
An enum to indicate how to interpret missing values of fields that are present in user schema but missing in rows. A missing value can represent a NULL or a column default value defined in BigQuery table schema.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unspecified
Invalid missing value interpretation. Requests with this value will be rejected.
NullValue
Missing value is interpreted as NULL.
DefaultValue
Missing value is interpreted as column default value if declared in the table schema, NULL otherwise.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using MissingValueInterpretation::value or MissingValueInterpretation::name.
Implementations§
Trait Implementations§
Source§impl Clone for MissingValueInterpretation
impl Clone for MissingValueInterpretation
Source§impl Debug for MissingValueInterpretation
impl Debug for MissingValueInterpretation
Source§impl Default for MissingValueInterpretation
impl Default for MissingValueInterpretation
Source§impl<'de> Deserialize<'de> for MissingValueInterpretation
impl<'de> Deserialize<'de> for MissingValueInterpretation
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl Display for MissingValueInterpretation
impl Display for MissingValueInterpretation
Source§impl From<&str> for MissingValueInterpretation
impl From<&str> for MissingValueInterpretation
Source§impl From<i32> for MissingValueInterpretation
impl From<i32> for MissingValueInterpretation
impl StructuralPartialEq for MissingValueInterpretation
Auto Trait Implementations§
impl Freeze for MissingValueInterpretation
impl RefUnwindSafe for MissingValueInterpretation
impl Send for MissingValueInterpretation
impl Sync for MissingValueInterpretation
impl Unpin for MissingValueInterpretation
impl UnsafeUnpin for MissingValueInterpretation
impl UnwindSafe for MissingValueInterpretation
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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>
T in a tonic::Request