[][src]Struct rusoto_ecr::SetRepositoryPolicyRequest

pub struct SetRepositoryPolicyRequest {
    pub force: Option<bool>,
    pub policy_text: String,
    pub registry_id: Option<String>,
    pub repository_name: String,
}

Fields

force: Option<bool>

If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs.

policy_text: String

The JSON repository policy text to apply to the repository.

registry_id: Option<String>

The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

repository_name: String

The name of the repository to receive the policy.

Trait Implementations

impl PartialEq<SetRepositoryPolicyRequest> for SetRepositoryPolicyRequest[src]

impl Default for SetRepositoryPolicyRequest[src]

impl Clone for SetRepositoryPolicyRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SetRepositoryPolicyRequest[src]

impl Serialize for SetRepositoryPolicyRequest[src]

Auto Trait Implementations

impl Send for SetRepositoryPolicyRequest

impl Sync for SetRepositoryPolicyRequest

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self