#[non_exhaustive]pub struct AwsOnDemandAttributes {
pub arn: Option<String>,
pub assigned_at: Option<String>,
pub created_at: Option<String>,
pub status: Option<String>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Attributes for the AWS on demand task.
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.arn: Option<String>
The arn of the resource to scan.
assigned_at: Option<String>
Specifies the assignment timestamp if the task has been already assigned to a scanner.
created_at: Option<String>
The task submission timestamp.
status: Option<String>
Indicates the status of the task. QUEUED: the task has been submitted successfully and the resource has not been assigned to a scanner yet. ASSIGNED: the task has been assigned. ABORTED: the scan has been aborted after a period of time due to technical reasons, such as resource not found, insufficient permissions, or the absence of a configured scanner.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl AwsOnDemandAttributes
impl AwsOnDemandAttributes
pub fn new() -> AwsOnDemandAttributes
pub fn arn(self, value: String) -> Self
pub fn assigned_at(self, value: String) -> Self
pub fn created_at(self, value: String) -> Self
pub fn status(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for AwsOnDemandAttributes
impl Clone for AwsOnDemandAttributes
Source§fn clone(&self) -> AwsOnDemandAttributes
fn clone(&self) -> AwsOnDemandAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AwsOnDemandAttributes
impl Debug for AwsOnDemandAttributes
Source§impl Default for AwsOnDemandAttributes
impl Default for AwsOnDemandAttributes
Source§impl<'de> Deserialize<'de> for AwsOnDemandAttributes
impl<'de> Deserialize<'de> for AwsOnDemandAttributes
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AwsOnDemandAttributes
impl PartialEq for AwsOnDemandAttributes
Source§impl Serialize for AwsOnDemandAttributes
impl Serialize for AwsOnDemandAttributes
impl StructuralPartialEq for AwsOnDemandAttributes
Auto Trait Implementations§
impl Freeze for AwsOnDemandAttributes
impl RefUnwindSafe for AwsOnDemandAttributes
impl Send for AwsOnDemandAttributes
impl Sync for AwsOnDemandAttributes
impl Unpin for AwsOnDemandAttributes
impl UnwindSafe for AwsOnDemandAttributes
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