pub struct FirewallPolicyView {
pub firewall_policy_name: String,
pub firewall_policy_arn: String,
pub firewall_policy_id: String,
pub description: Option<String>,
pub tags: Vec<(String, String)>,
pub firewall_policy_body: Value,
pub encryption_configuration: Option<Value>,
}Expand description
Serializable view of a firewall policy.
Fields§
§firewall_policy_name: String§firewall_policy_arn: String§firewall_policy_id: String§description: Option<String>§firewall_policy_body: Value§encryption_configuration: Option<Value>Encryption configuration stored as {"key_id": "...", "type": "..."}.
Trait Implementations§
Source§impl Clone for FirewallPolicyView
impl Clone for FirewallPolicyView
Source§fn clone(&self) -> FirewallPolicyView
fn clone(&self) -> FirewallPolicyView
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 FirewallPolicyView
impl Debug for FirewallPolicyView
Source§impl Default for FirewallPolicyView
impl Default for FirewallPolicyView
Source§fn default() -> FirewallPolicyView
fn default() -> FirewallPolicyView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FirewallPolicyView
impl<'de> Deserialize<'de> for FirewallPolicyView
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<&FirewallPolicy> for FirewallPolicyView
impl From<&FirewallPolicy> for FirewallPolicyView
Source§fn from(fp: &FirewallPolicy) -> Self
fn from(fp: &FirewallPolicy) -> Self
Converts to this type from the input type.
Source§impl From<FirewallPolicyView> for FirewallPolicy
impl From<FirewallPolicyView> for FirewallPolicy
Source§fn from(v: FirewallPolicyView) -> Self
fn from(v: FirewallPolicyView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FirewallPolicyView
impl RefUnwindSafe for FirewallPolicyView
impl Send for FirewallPolicyView
impl Sync for FirewallPolicyView
impl Unpin for FirewallPolicyView
impl UnsafeUnpin for FirewallPolicyView
impl UnwindSafe for FirewallPolicyView
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.