Struct scaleway_api_rs::models::inline_object_12::InlineObject12 [−][src]
pub struct InlineObject12 { 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>, }
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>
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 RefUnwindSafe for InlineObject12
impl Send for InlineObject12
impl Sync for InlineObject12
impl Unpin for InlineObject12
impl UnwindSafe for InlineObject12
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more