pub struct RuleGroupView {
pub rule_group_name: String,
pub rule_group_arn: String,
pub rule_group_id: String,
pub rule_group_type: String,
pub capacity: i32,
pub description: Option<String>,
pub tags: Vec<(String, String)>,
pub rule_group_body: Option<Value>,
pub rules: Option<String>,
pub encryption_configuration: Option<Value>,
}Expand description
Serializable view of a rule group.
Fields§
§rule_group_name: String§rule_group_arn: String§rule_group_id: String§rule_group_type: String§capacity: i32§description: Option<String>§rule_group_body: Option<Value>§rules: Option<String>§encryption_configuration: Option<Value>Encryption configuration stored as {"key_id": "...", "type": "..."}.
Trait Implementations§
Source§impl Clone for RuleGroupView
impl Clone for RuleGroupView
Source§fn clone(&self) -> RuleGroupView
fn clone(&self) -> RuleGroupView
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 RuleGroupView
impl Debug for RuleGroupView
Source§impl Default for RuleGroupView
impl Default for RuleGroupView
Source§fn default() -> RuleGroupView
fn default() -> RuleGroupView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuleGroupView
impl<'de> Deserialize<'de> for RuleGroupView
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 From<&RuleGroup> for RuleGroupView
impl From<&RuleGroup> for RuleGroupView
Source§impl From<RuleGroupView> for RuleGroup
impl From<RuleGroupView> for RuleGroup
Source§fn from(v: RuleGroupView) -> Self
fn from(v: RuleGroupView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuleGroupView
impl RefUnwindSafe for RuleGroupView
impl Send for RuleGroupView
impl Sync for RuleGroupView
impl Unpin for RuleGroupView
impl UnsafeUnpin for RuleGroupView
impl UnwindSafe for RuleGroupView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.