pub struct SecurityGroupRule {
pub rule_id: String,
pub group_id: String,
pub is_egress: bool,
pub ip_protocol: String,
pub from_port: i64,
pub to_port: i64,
pub cidr_ipv4: Option<String>,
pub cidr_ipv6: Option<String>,
pub prefix_list_id: Option<String>,
pub referenced_group_id: Option<String>,
pub description: String,
}Expand description
A security-group rule (ingress or egress), stored flat.
Fields§
§rule_id: String§group_id: String§is_egress: bool§ip_protocol: String§from_port: i64§to_port: i64§cidr_ipv4: Option<String>§cidr_ipv6: Option<String>§prefix_list_id: Option<String>§referenced_group_id: Option<String>§description: StringTrait Implementations§
Source§impl Clone for SecurityGroupRule
impl Clone for SecurityGroupRule
Source§fn clone(&self) -> SecurityGroupRule
fn clone(&self) -> SecurityGroupRule
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 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