Struct aws_sdk_glue::types::ViewDefinition
source · #[non_exhaustive]pub struct ViewDefinition {
pub is_protected: Option<bool>,
pub definer: Option<String>,
pub sub_objects: Option<Vec<String>>,
pub representations: Option<Vec<ViewRepresentation>>,
}Expand description
A structure containing details for representations.
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.
sub_objects: Option<Vec<String>>A list of table Amazon Resource Names (ARNs).
representations: Option<Vec<ViewRepresentation>>A list of representations.
Implementations§
source§impl ViewDefinition
impl ViewDefinition
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 sub_objects(&self) -> &[String]
pub fn sub_objects(&self) -> &[String]
A list of table Amazon Resource Names (ARNs).
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().
sourcepub fn representations(&self) -> &[ViewRepresentation]
pub fn representations(&self) -> &[ViewRepresentation]
A list of representations.
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().
source§impl ViewDefinition
impl ViewDefinition
sourcepub fn builder() -> ViewDefinitionBuilder
pub fn builder() -> ViewDefinitionBuilder
Creates a new builder-style object to manufacture ViewDefinition.
Trait Implementations§
source§impl Clone for ViewDefinition
impl Clone for ViewDefinition
source§fn clone(&self) -> ViewDefinition
fn clone(&self) -> ViewDefinition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ViewDefinition
impl Debug for ViewDefinition
source§impl PartialEq for ViewDefinition
impl PartialEq for ViewDefinition
source§fn eq(&self, other: &ViewDefinition) -> bool
fn eq(&self, other: &ViewDefinition) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ViewDefinition
Auto Trait Implementations§
impl Freeze for ViewDefinition
impl RefUnwindSafe for ViewDefinition
impl Send for ViewDefinition
impl Sync for ViewDefinition
impl Unpin for ViewDefinition
impl UnwindSafe for ViewDefinition
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