pub struct Route {
pub id: String,
pub crn: String,
pub description: Option<String>,
pub destination_cidr: String,
pub target_type: RouteTargetType,
pub next_hop_ip: Option<Nullable<String>>,
pub target_internet_gateway: Option<ResourceRef>,
pub target_nat_gateway: Option<ResourceRef>,
pub target_egress_only_gateway: Option<ResourceRef>,
pub tags: BTreeMap<String, String>,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§crn: String§description: Option<String>§destination_cidr: String§target_type: RouteTargetType§next_hop_ip: Option<Nullable<String>>Set when target_type=ip. Mutex with the target_* fields. Must be a unicast address inside this VPC’s CIDR (same IP family as destination_cidr); internet egress uses target_internet_gateway / target_nat_gateway.
target_internet_gateway: Option<ResourceRef>Set when target_type=internet_gateway.
target_nat_gateway: Option<ResourceRef>Set when target_type=nat_gateway. Supports IPv4 and IPv6; IPv6 requires an IPv6-enabled hosting subnet.
target_egress_only_gateway: Option<ResourceRef>Set when target_type=egress_only_gateway (IPv6 only). Gives the subnet outbound IPv6 and replies only.
created_at: String§updated_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Route
impl<'de> Deserialize<'de> for Route
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 Route
impl RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnsafeUnpin for Route
impl UnwindSafe for Route
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