pub struct SecurityRuleRequired {
pub direction: SecurityRuleDirection,
pub protocol: String,
}Expand description
Required fields for SecurityRule
Fields§
§direction: SecurityRuleDirectionDirection of the security rule. Set to {@code EGRESS} for rules to allow outbound IP packets, or {@code INGRESS} for rules to allow inbound IP packets.
protocol: StringThe transport protocol. Specify either {@code all} or an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
Auto Trait Implementations§
impl Freeze for SecurityRuleRequired
impl RefUnwindSafe for SecurityRuleRequired
impl Send for SecurityRuleRequired
impl Sync for SecurityRuleRequired
impl Unpin for SecurityRuleRequired
impl UnsafeUnpin for SecurityRuleRequired
impl UnwindSafe for SecurityRuleRequired
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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