#[non_exhaustive]pub struct ViewValidation {
pub dialect: Option<ViewDialect>,
pub dialect_version: Option<String>,
pub view_validation_text: Option<String>,
pub update_time: Option<DateTime>,
pub state: Option<ResourceState>,
pub error: Option<ErrorDetail>,
}Expand description
A structure that contains information for an analytical engine to validate a view, prior to persisting the view metadata. Used in the case of direct UpdateTable or CreateTable API calls.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dialect: Option<ViewDialect>The dialect of the query engine.
dialect_version: Option<String>The version of the dialect of the query engine. For example, 3.0.0.
view_validation_text: Option<String>The SELECT query that defines the view, as provided by the customer.
update_time: Option<DateTime>The time of the last update.
state: Option<ResourceState>The state of the validation.
error: Option<ErrorDetail>An error associated with the validation.
Implementations§
Source§impl ViewValidation
impl ViewValidation
Sourcepub fn dialect(&self) -> Option<&ViewDialect>
pub fn dialect(&self) -> Option<&ViewDialect>
The dialect of the query engine.
Sourcepub fn dialect_version(&self) -> Option<&str>
pub fn dialect_version(&self) -> Option<&str>
The version of the dialect of the query engine. For example, 3.0.0.
Sourcepub fn view_validation_text(&self) -> Option<&str>
pub fn view_validation_text(&self) -> Option<&str>
The SELECT query that defines the view, as provided by the customer.
Sourcepub fn update_time(&self) -> Option<&DateTime>
pub fn update_time(&self) -> Option<&DateTime>
The time of the last update.
Sourcepub fn state(&self) -> Option<&ResourceState>
pub fn state(&self) -> Option<&ResourceState>
The state of the validation.
Sourcepub fn error(&self) -> Option<&ErrorDetail>
pub fn error(&self) -> Option<&ErrorDetail>
An error associated with the validation.
Source§impl ViewValidation
impl ViewValidation
Sourcepub fn builder() -> ViewValidationBuilder
pub fn builder() -> ViewValidationBuilder
Creates a new builder-style object to manufacture ViewValidation.
Trait Implementations§
Source§impl Clone for ViewValidation
impl Clone for ViewValidation
Source§fn clone(&self) -> ViewValidation
fn clone(&self) -> ViewValidation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ViewValidation
impl Debug for ViewValidation
Source§impl PartialEq for ViewValidation
impl PartialEq for ViewValidation
Source§fn eq(&self, other: &ViewValidation) -> bool
fn eq(&self, other: &ViewValidation) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ViewValidation
Auto Trait Implementations§
impl Freeze for ViewValidation
impl RefUnwindSafe for ViewValidation
impl Send for ViewValidation
impl Sync for ViewValidation
impl Unpin for ViewValidation
impl UnsafeUnpin for ViewValidation
impl UnwindSafe for ViewValidation
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