Struct aws_sdk_codegurureviewer::model::RequestMetadata
source · #[non_exhaustive]pub struct RequestMetadata { /* private fields */ }
Expand description
Metadata that is associated with a code review. This applies to both pull request and repository analysis code reviews.
Implementations§
source§impl RequestMetadata
impl RequestMetadata
sourcepub fn request_id(&self) -> Option<&str>
pub fn request_id(&self) -> Option<&str>
The ID of the request. This is required for a pull request code review.
sourcepub fn requester(&self) -> Option<&str>
pub fn requester(&self) -> Option<&str>
An identifier, such as a name or account ID, that is associated with the requester. The Requester
is used to capture the author/actor
name of the event request.
sourcepub fn event_info(&self) -> Option<&EventInfo>
pub fn event_info(&self) -> Option<&EventInfo>
Information about the event associated with a code review.
sourcepub fn vendor_name(&self) -> Option<&VendorName>
pub fn vendor_name(&self) -> Option<&VendorName>
The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType
is S3Bucket
and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType
in RepositoryAssociation.
source§impl RequestMetadata
impl RequestMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RequestMetadata
.
Trait Implementations§
source§impl Clone for RequestMetadata
impl Clone for RequestMetadata
source§fn clone(&self) -> RequestMetadata
fn clone(&self) -> RequestMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RequestMetadata
impl Debug for RequestMetadata
source§impl PartialEq<RequestMetadata> for RequestMetadata
impl PartialEq<RequestMetadata> for RequestMetadata
source§fn eq(&self, other: &RequestMetadata) -> bool
fn eq(&self, other: &RequestMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.