pub struct CreateFirewallPolicyRequest {
pub name: String,
pub action: FirewallAction,
pub source_zone_id: EntityId,
pub destination_zone_id: EntityId,
pub enabled: bool,
pub logging_enabled: bool,
pub description: Option<String>,
pub protocol: Option<String>,
pub source_address: Option<String>,
pub destination_address: Option<String>,
pub destination_port: Option<String>,
}Fields§
§name: String§action: FirewallAction§source_zone_id: EntityId§destination_zone_id: EntityId§enabled: bool§logging_enabled: bool§description: Option<String>§protocol: Option<String>§source_address: Option<String>§destination_address: Option<String>§destination_port: Option<String>Trait Implementations§
Source§impl Clone for CreateFirewallPolicyRequest
impl Clone for CreateFirewallPolicyRequest
Source§fn clone(&self) -> CreateFirewallPolicyRequest
fn clone(&self) -> CreateFirewallPolicyRequest
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 CreateFirewallPolicyRequest
impl Debug for CreateFirewallPolicyRequest
Source§impl<'de> Deserialize<'de> for CreateFirewallPolicyRequest
impl<'de> Deserialize<'de> for CreateFirewallPolicyRequest
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 CreateFirewallPolicyRequest
impl RefUnwindSafe for CreateFirewallPolicyRequest
impl Send for CreateFirewallPolicyRequest
impl Sync for CreateFirewallPolicyRequest
impl Unpin for CreateFirewallPolicyRequest
impl UnsafeUnpin for CreateFirewallPolicyRequest
impl UnwindSafe for CreateFirewallPolicyRequest
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