#[non_exhaustive]pub struct PutRegistryPolicyInput {
pub policy_text: Option<String>,
}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_text: Option<String>The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.
Implementations§
source§impl PutRegistryPolicyInput
impl PutRegistryPolicyInput
sourcepub fn policy_text(&self) -> Option<&str>
pub fn policy_text(&self) -> Option<&str>
The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.
source§impl PutRegistryPolicyInput
impl PutRegistryPolicyInput
sourcepub fn builder() -> PutRegistryPolicyInputBuilder
pub fn builder() -> PutRegistryPolicyInputBuilder
Creates a new builder-style object to manufacture PutRegistryPolicyInput.
Trait Implementations§
source§impl Clone for PutRegistryPolicyInput
impl Clone for PutRegistryPolicyInput
source§fn clone(&self) -> PutRegistryPolicyInput
fn clone(&self) -> PutRegistryPolicyInput
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 PutRegistryPolicyInput
impl Debug for PutRegistryPolicyInput
source§impl PartialEq for PutRegistryPolicyInput
impl PartialEq for PutRegistryPolicyInput
source§fn eq(&self, other: &PutRegistryPolicyInput) -> bool
fn eq(&self, other: &PutRegistryPolicyInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutRegistryPolicyInput
Auto Trait Implementations§
impl Freeze for PutRegistryPolicyInput
impl RefUnwindSafe for PutRegistryPolicyInput
impl Send for PutRegistryPolicyInput
impl Sync for PutRegistryPolicyInput
impl Unpin for PutRegistryPolicyInput
impl UnwindSafe for PutRegistryPolicyInput
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>
Creates a shared type from an unshared type.