pub struct GoogleCloudDataplexV1DataQualityRuleRangeExpectation {
pub max_value: Option<String>,
pub min_value: Option<String>,
pub strict_max_enabled: Option<bool>,
pub strict_min_enabled: Option<bool>,
}
Expand description
Evaluates whether each column value lies between a specified range.
This type is not used in any activity, and only used as part of another schema.
Fields§
§max_value: Option<String>
Optional. The maximum column value allowed for a row to pass this validation. At least one of min_value and max_value need to be provided.
min_value: Option<String>
Optional. The minimum column value allowed for a row to pass this validation. At least one of min_value and max_value need to be provided.
strict_max_enabled: Option<bool>
Optional. Whether each value needs to be strictly lesser than (‘<’) the maximum, or if equality is allowed.Only relevant if a max_value has been defined. Default = false.
strict_min_enabled: Option<bool>
Optional. Whether each value needs to be strictly greater than (‘>’) the minimum, or if equality is allowed.Only relevant if a min_value has been defined. Default = false.
Trait Implementations§
Source§impl Clone for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
impl Clone for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
Source§fn clone(&self) -> GoogleCloudDataplexV1DataQualityRuleRangeExpectation
fn clone(&self) -> GoogleCloudDataplexV1DataQualityRuleRangeExpectation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
impl Default for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
Source§fn default() -> GoogleCloudDataplexV1DataQualityRuleRangeExpectation
fn default() -> GoogleCloudDataplexV1DataQualityRuleRangeExpectation
Source§impl<'de> Deserialize<'de> for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
impl<'de> Deserialize<'de> for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
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>,
impl Part for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
Auto Trait Implementations§
impl Freeze for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
impl RefUnwindSafe for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
impl Send for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
impl Sync for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
impl Unpin for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
impl UnwindSafe for GoogleCloudDataplexV1DataQualityRuleRangeExpectation
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
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more