[][src]Struct rusoto_securityhub::Resource

pub struct Resource {
    pub details: Option<ResourceDetails>,
    pub id: String,
    pub partition: Option<String>,
    pub region: Option<String>,
    pub tags: Option<HashMap<String, String>>,
    pub type_: String,
}

A resource related to a finding.

Fields

details: Option<ResourceDetails>

Additional details about the resource related to a finding.

id: String

The canonical identifier for the given resource type.

partition: Option<String>

The canonical AWS partition name that the Region is assigned to.

region: Option<String>

The canonical AWS external Region name where this resource is located.

tags: Option<HashMap<String, String>>

A list of AWS tags associated with a resource at the time the finding was processed.

type_: String

The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.

If the resource does not match any of the provided types, then set Type to Other.

Trait Implementations

impl Clone for Resource[src]

impl Debug for Resource[src]

impl Default for Resource[src]

impl<'de> Deserialize<'de> for Resource[src]

impl PartialEq<Resource> for Resource[src]

impl Serialize for Resource[src]

impl StructuralPartialEq for Resource[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.