Struct aws_sdk_codegurusecurity::types::Resource
source · #[non_exhaustive]pub struct Resource {
pub id: Option<String>,
pub sub_resource_id: Option<String>,
}
Expand description
Information about a resource, such as an Amazon S3 bucket or AWS Lambda function, that contains a finding.
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.id: Option<String>
The identifier for the resource.
sub_resource_id: Option<String>
The identifier for a section of the resource, such as an AWS Lambda layer.
Implementations§
Trait Implementations§
source§impl PartialEq for Resource
impl PartialEq for Resource
impl StructuralPartialEq for Resource
Auto Trait Implementations§
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
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