#[non_exhaustive]pub struct DescribeResourcePolicyOutput {
pub resource_policy: Option<String>,
pub creation_time: Option<DateTime>,
pub last_modified_time: Option<DateTime>,
pub policy_revision_id: Option<String>,
}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.resource_policy: Option<String>The JSON body of the resource-based policy.
creation_time: Option<DateTime>The time at which the policy was created.
last_modified_time: Option<DateTime>The time at which the policy was last modified.
policy_revision_id: Option<String>The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.
Implementations
sourceimpl DescribeResourcePolicyOutput
impl DescribeResourcePolicyOutput
sourcepub fn resource_policy(&self) -> Option<&str>
pub fn resource_policy(&self) -> Option<&str>
The JSON body of the resource-based policy.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time at which the policy was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The time at which the policy was last modified.
sourcepub fn policy_revision_id(&self) -> Option<&str>
pub fn policy_revision_id(&self) -> Option<&str>
The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.
sourceimpl DescribeResourcePolicyOutput
impl DescribeResourcePolicyOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeResourcePolicyOutput
Trait Implementations
sourceimpl Clone for DescribeResourcePolicyOutput
impl Clone for DescribeResourcePolicyOutput
sourcefn clone(&self) -> DescribeResourcePolicyOutput
fn clone(&self) -> DescribeResourcePolicyOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DescribeResourcePolicyOutput
impl Debug for DescribeResourcePolicyOutput
sourceimpl PartialEq<DescribeResourcePolicyOutput> for DescribeResourcePolicyOutput
impl PartialEq<DescribeResourcePolicyOutput> for DescribeResourcePolicyOutput
sourcefn eq(&self, other: &DescribeResourcePolicyOutput) -> bool
fn eq(&self, other: &DescribeResourcePolicyOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DescribeResourcePolicyOutput) -> bool
fn ne(&self, other: &DescribeResourcePolicyOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for DescribeResourcePolicyOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeResourcePolicyOutput
impl Send for DescribeResourcePolicyOutput
impl Sync for DescribeResourcePolicyOutput
impl Unpin for DescribeResourcePolicyOutput
impl UnwindSafe for DescribeResourcePolicyOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more