pub struct Subnet {Show 13 fields
pub id: String,
pub crn: String,
pub vpc: ResourceRef,
pub route_table: SubnetRouteTable,
pub name: String,
pub description: Option<String>,
pub cidr_ipv4: String,
pub gateway_ipv4: String,
pub cidr_ipv6: Option<Nullable<String>>,
pub gateway_ipv6: Option<Nullable<String>>,
pub tags: BTreeMap<String, String>,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§crn: String§vpc: ResourceRef§route_table: SubnetRouteTableRoute table associated with this subnet; null when the table is unavailable.
name: StringResource names must not start with the literal crn: prefix or be UUIDs (canonical, compact, braced, or urn:uuid: forms, in either case).
description: Option<String>§cidr_ipv4: String§gateway_ipv4: String§cidr_ipv6: Option<Nullable<String>>The dual-stack IPv6 /64, if the subnet is v6-enabled. Its presence (vs the v4 cidr_ipv4) is how a client tells the subnet’s families apart.
gateway_ipv6: Option<Nullable<String>>§created_at: String§updated_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Subnet
impl<'de> Deserialize<'de> for Subnet
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 Subnet
impl RefUnwindSafe for Subnet
impl Send for Subnet
impl Sync for Subnet
impl Unpin for Subnet
impl UnsafeUnpin for Subnet
impl UnwindSafe for Subnet
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