pub struct SecurityGroupRule {
pub id: String,
pub description: Option<String>,
pub direction: SecurityGroupRuleDirection,
pub ethertype: SecurityGroupRuleEthertype,
pub protocol: SecurityGroupRuleProtocol,
pub port_min: Option<Nullable<i64>>,
pub port_max: Option<Nullable<i64>>,
pub remote_cidr: Option<Nullable<String>>,
pub source_security_group: Option<ResourceRef>,
pub created_at: String,
}Fields§
§id: String§description: Option<String>§direction: SecurityGroupRuleDirection§ethertype: SecurityGroupRuleEthertype§protocol: SecurityGroupRuleProtocol§port_min: Option<Nullable<i64>>Required when protocol is tcp/udp; ignored otherwise.
port_max: Option<Nullable<i64>>§remote_cidr: Option<Nullable<String>>Source (ingress) or destination_cidr (egress) CIDR. Must match the rule’s ethertype. Mutually exclusive with source_security_group.
source_security_group: Option<ResourceRef>Security group supplying the source or destination members. Mutually exclusive with remote_cidr.
created_at: StringTrait Implementations§
Source§impl Clone for SecurityGroupRule
impl Clone for SecurityGroupRule
Source§impl Debug for SecurityGroupRule
impl Debug for SecurityGroupRule
Source§impl<'de> Deserialize<'de> for SecurityGroupRule
impl<'de> Deserialize<'de> for SecurityGroupRule
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 SecurityGroupRule
impl RefUnwindSafe for SecurityGroupRule
impl Send for SecurityGroupRule
impl Sync for SecurityGroupRule
impl Unpin for SecurityGroupRule
impl UnsafeUnpin for SecurityGroupRule
impl UnwindSafe for SecurityGroupRule
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