pub struct ServiceFilter {
pub rule_id: Option<String>,
pub service: String,
}Expand description
Suppress a rule for every resource belonging to a service - the
service-provider::service-name prefix of the resource type (its first two
::-delimited segments, for example AWS::AutoScaling in
AWS::AutoScaling::LaunchConfiguration, or Alexa::ASK in
Alexa::ASK::Skill). An absent rule_id scopes the filter to every rule on
that service.
The service string is compared verbatim against that prefix.
Fields§
§rule_id: Option<String>§service: StringTrait Implementations§
Source§impl Clone for ServiceFilter
impl Clone for ServiceFilter
Source§impl Debug for ServiceFilter
impl Debug for ServiceFilter
Source§impl<'de> Deserialize<'de> for ServiceFilter
impl<'de> Deserialize<'de> for ServiceFilter
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 ServiceFilter
impl RefUnwindSafe for ServiceFilter
impl Send for ServiceFilter
impl Sync for ServiceFilter
impl Unpin for ServiceFilter
impl UnsafeUnpin for ServiceFilter
impl UnwindSafe for ServiceFilter
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