pub struct AssociateRepositoryRequest {
pub client_request_token: Option<String>,
pub kms_key_details: Option<KMSKeyDetails>,
pub repository: Repository,
pub tags: Option<HashMap<String, String>>,
}
Fields
client_request_token: Option<String>
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.
kms_key_details: Option<KMSKeyDetails>
A KMSKeyDetails
object that contains:
-
The encryption option for this repository association. It is either owned by AWS Key Management Service (KMS) (
AWSOWNEDCMK
) or customer managed (CUSTOMERMANAGEDCMK
). -
The ID of the AWS KMS key that is associated with this respository association.
repository: Repository
The repository to associate.
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
-
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case sensitive. -
An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
Trait Implementations
sourceimpl Clone for AssociateRepositoryRequest
impl Clone for AssociateRepositoryRequest
sourcefn clone(&self) -> AssociateRepositoryRequest
fn clone(&self) -> AssociateRepositoryRequest
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 AssociateRepositoryRequest
impl Debug for AssociateRepositoryRequest
sourceimpl Default for AssociateRepositoryRequest
impl Default for AssociateRepositoryRequest
sourcefn default() -> AssociateRepositoryRequest
fn default() -> AssociateRepositoryRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<AssociateRepositoryRequest> for AssociateRepositoryRequest
impl PartialEq<AssociateRepositoryRequest> for AssociateRepositoryRequest
sourcefn eq(&self, other: &AssociateRepositoryRequest) -> bool
fn eq(&self, other: &AssociateRepositoryRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AssociateRepositoryRequest) -> bool
fn ne(&self, other: &AssociateRepositoryRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for AssociateRepositoryRequest
Auto Trait Implementations
impl RefUnwindSafe for AssociateRepositoryRequest
impl Send for AssociateRepositoryRequest
impl Sync for AssociateRepositoryRequest
impl Unpin for AssociateRepositoryRequest
impl UnwindSafe for AssociateRepositoryRequest
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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