pub struct LogsAnomalyInjectRequest {
pub anomaly_detector_arn: String,
pub log_group_arns: Vec<String>,
pub pattern_string: String,
pub priority: Option<String>,
}Expand description
Admin payload for /_fakecloud/logs/anomalies/inject. Lets tests
seed synthetic CloudWatch Logs anomalies so they can exercise
ListAnomalies / UpdateAnomaly deterministically.
Fields§
§anomaly_detector_arn: String§log_group_arns: Vec<String>§pattern_string: String§priority: Option<String>Trait Implementations§
Source§impl Clone for LogsAnomalyInjectRequest
impl Clone for LogsAnomalyInjectRequest
Source§fn clone(&self) -> LogsAnomalyInjectRequest
fn clone(&self) -> LogsAnomalyInjectRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LogsAnomalyInjectRequest
impl Debug for LogsAnomalyInjectRequest
Source§impl<'de> Deserialize<'de> for LogsAnomalyInjectRequest
impl<'de> Deserialize<'de> for LogsAnomalyInjectRequest
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
Auto Trait Implementations§
impl Freeze for LogsAnomalyInjectRequest
impl RefUnwindSafe for LogsAnomalyInjectRequest
impl Send for LogsAnomalyInjectRequest
impl Sync for LogsAnomalyInjectRequest
impl Unpin for LogsAnomalyInjectRequest
impl UnsafeUnpin for LogsAnomalyInjectRequest
impl UnwindSafe for LogsAnomalyInjectRequest
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