Struct aws_sdk_glue::types::GluePolicy
source · #[non_exhaustive]pub struct GluePolicy {
pub policy_in_json: Option<String>,
pub policy_hash: Option<String>,
pub create_time: Option<DateTime>,
pub update_time: Option<DateTime>,
}Expand description
A structure for returning a resource policy.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.policy_in_json: Option<String>Contains the requested policy document, in JSON format.
policy_hash: Option<String>Contains the hash value associated with this policy.
create_time: Option<DateTime>The date and time at which the policy was created.
update_time: Option<DateTime>The date and time at which the policy was last updated.
Implementations§
source§impl GluePolicy
impl GluePolicy
sourcepub fn policy_in_json(&self) -> Option<&str>
pub fn policy_in_json(&self) -> Option<&str>
Contains the requested policy document, in JSON format.
sourcepub fn policy_hash(&self) -> Option<&str>
pub fn policy_hash(&self) -> Option<&str>
Contains the hash value associated with this policy.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The date and time at which the policy was created.
sourcepub fn update_time(&self) -> Option<&DateTime>
pub fn update_time(&self) -> Option<&DateTime>
The date and time at which the policy was last updated.
source§impl GluePolicy
impl GluePolicy
sourcepub fn builder() -> GluePolicyBuilder
pub fn builder() -> GluePolicyBuilder
Creates a new builder-style object to manufacture GluePolicy.
Trait Implementations§
source§impl Clone for GluePolicy
impl Clone for GluePolicy
source§fn clone(&self) -> GluePolicy
fn clone(&self) -> GluePolicy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GluePolicy
impl Debug for GluePolicy
source§impl PartialEq for GluePolicy
impl PartialEq for GluePolicy
source§fn eq(&self, other: &GluePolicy) -> bool
fn eq(&self, other: &GluePolicy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GluePolicy
Auto Trait Implementations§
impl Freeze for GluePolicy
impl RefUnwindSafe for GluePolicy
impl Send for GluePolicy
impl Sync for GluePolicy
impl Unpin for GluePolicy
impl UnwindSafe for GluePolicy
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.