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<GluePolicy> for GluePolicy
impl PartialEq<GluePolicy> 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 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