Struct aws_sdk_glue::types::ViewDefinitionInput
source · #[non_exhaustive]pub struct ViewDefinitionInput {
pub is_protected: Option<bool>,
pub definer: Option<String>,
pub representations: Option<Vec<ViewRepresentationInput>>,
pub sub_objects: Option<Vec<String>>,
}
Expand description
A structure containing details for creating or updating an Glue view.
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.is_protected: Option<bool>
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
definer: Option<String>
The definer of a view in SQL.
representations: Option<Vec<ViewRepresentationInput>>
A list of structures that contains the dialect of the view, and the query that defines the view.
sub_objects: Option<Vec<String>>
A list of base table ARNs that make up the view.
Implementations§
source§impl ViewDefinitionInput
impl ViewDefinitionInput
sourcepub fn is_protected(&self) -> Option<bool>
pub fn is_protected(&self) -> Option<bool>
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
sourcepub fn representations(&self) -> &[ViewRepresentationInput]
pub fn representations(&self) -> &[ViewRepresentationInput]
A list of structures that contains the dialect of the view, and the query that defines the view.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .representations.is_none()
.
sourcepub fn sub_objects(&self) -> &[String]
pub fn sub_objects(&self) -> &[String]
A list of base table ARNs that make up the view.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sub_objects.is_none()
.
source§impl ViewDefinitionInput
impl ViewDefinitionInput
sourcepub fn builder() -> ViewDefinitionInputBuilder
pub fn builder() -> ViewDefinitionInputBuilder
Creates a new builder-style object to manufacture ViewDefinitionInput
.
Trait Implementations§
source§impl Clone for ViewDefinitionInput
impl Clone for ViewDefinitionInput
source§fn clone(&self) -> ViewDefinitionInput
fn clone(&self) -> ViewDefinitionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ViewDefinitionInput
impl Debug for ViewDefinitionInput
source§impl PartialEq for ViewDefinitionInput
impl PartialEq for ViewDefinitionInput
source§fn eq(&self, other: &ViewDefinitionInput) -> bool
fn eq(&self, other: &ViewDefinitionInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ViewDefinitionInput
Auto Trait Implementations§
impl Freeze for ViewDefinitionInput
impl RefUnwindSafe for ViewDefinitionInput
impl Send for ViewDefinitionInput
impl Sync for ViewDefinitionInput
impl Unpin for ViewDefinitionInput
impl UnwindSafe for ViewDefinitionInput
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> 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