pub struct VpcFirewallRuleUpdate {
pub name: String,
pub description: String,
pub action: VpcFirewallRuleAction,
pub direction: VpcFirewallRuleDirection,
pub filters: VpcFirewallRuleFilter,
pub priority: u16,
pub status: VpcFirewallRuleStatus,
pub targets: Vec<VpcFirewallRuleTarget>,
}
Expand description
A single rule in a VPC firewall
Fields§
§name: String
Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and ‘-’, and may not end with a ‘-’. Names cannot be a UUID though they may contain a UUID.
description: String
human-readable free-form text about a resource
action: VpcFirewallRuleAction
§direction: VpcFirewallRuleDirection
§filters: VpcFirewallRuleFilter
Filter for a firewall rule. A given packet must match every field that is present for the rule to apply to it. A packet matches a field if any entry in that field matches the packet.
priority: u16
the relative priority of this rule
status: VpcFirewallRuleStatus
§targets: Vec<VpcFirewallRuleTarget>
list of sets of instances that the rule applies to
Trait Implementations§
Source§impl Clone for VpcFirewallRuleUpdate
impl Clone for VpcFirewallRuleUpdate
Source§fn clone(&self) -> VpcFirewallRuleUpdate
fn clone(&self) -> VpcFirewallRuleUpdate
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 VpcFirewallRuleUpdate
impl Debug for VpcFirewallRuleUpdate
Source§impl Default for VpcFirewallRuleUpdate
impl Default for VpcFirewallRuleUpdate
Source§fn default() -> VpcFirewallRuleUpdate
fn default() -> VpcFirewallRuleUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VpcFirewallRuleUpdate
impl<'de> Deserialize<'de> for VpcFirewallRuleUpdate
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 JsonSchema for VpcFirewallRuleUpdate
impl JsonSchema for VpcFirewallRuleUpdate
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for VpcFirewallRuleUpdate
impl PartialEq for VpcFirewallRuleUpdate
Source§impl Serialize for VpcFirewallRuleUpdate
impl Serialize for VpcFirewallRuleUpdate
Source§impl Tabled for VpcFirewallRuleUpdate
impl Tabled for VpcFirewallRuleUpdate
impl StructuralPartialEq for VpcFirewallRuleUpdate
Auto Trait Implementations§
impl Freeze for VpcFirewallRuleUpdate
impl RefUnwindSafe for VpcFirewallRuleUpdate
impl Send for VpcFirewallRuleUpdate
impl Sync for VpcFirewallRuleUpdate
impl Unpin for VpcFirewallRuleUpdate
impl UnwindSafe for VpcFirewallRuleUpdate
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