Struct scaleway_api_rs::models::scaleway_instance_v1_security_group_rule::ScalewayInstanceV1SecurityGroupRule [−][src]
pub struct ScalewayInstanceV1SecurityGroupRule { pub id: Option<String>, pub protocol: Option<ScalewayInstanceV1SecurityGroupRuleProtocol>, pub direction: Option<ScalewayInstanceV1SecurityGroupRuleDirection>, pub action: Option<ScalewayInstanceV1SecurityGroupRuleAction>, pub ip_range: Option<String>, pub dest_port_from: Option<f32>, pub dest_port_to: Option<f32>, pub position: Option<f32>, pub editable: Option<bool>, pub zone: Option<String>, }
Fields
id: Option<String>
protocol: Option<ScalewayInstanceV1SecurityGroupRuleProtocol>
direction: Option<ScalewayInstanceV1SecurityGroupRuleDirection>
action: Option<ScalewayInstanceV1SecurityGroupRuleAction>
ip_range: Option<String>
(IP network)
dest_port_from: Option<f32>
dest_port_to: Option<f32>
position: Option<f32>
editable: Option<bool>
zone: Option<String>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ScalewayInstanceV1SecurityGroupRule
impl Sync for ScalewayInstanceV1SecurityGroupRule
impl Unpin for ScalewayInstanceV1SecurityGroupRule
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more