pub struct RouterRoute {
pub id: String,
pub name: String,
pub description: String,
pub destination: RouteDestination,
pub kind: RouterRouteKind,
pub target: RouteTarget,
pub time_created: DisplayOptionDateTime,
pub time_modified: DisplayOptionDateTime,
pub vpc_router_id: String,
}
Expand description
A route defines a rule that governs where traffic should be sent based on its destination.
Fields§
§id: String
unique, immutable, system-controlled identifier for each resource
name: String
Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and ‘-’, and may not end with a ‘-’. Names cannot be a UUID though they may contain a UUID.
description: String
human-readable free-form text about a resource
destination: RouteDestination
§kind: RouterRouteKind
The classification of a RouterRoute
as defined by the system. The kind determines certain attributes such as if the route is modifiable and describes how or where the route was created.
See RFD-21 for more context
target: RouteTarget
§time_created: DisplayOptionDateTime
timestamp when this resource was created
time_modified: DisplayOptionDateTime
timestamp when this resource was last modified
vpc_router_id: String
The VPC Router to which the route belongs.
Trait Implementations§
Source§impl Clone for RouterRoute
impl Clone for RouterRoute
Source§fn clone(&self) -> RouterRoute
fn clone(&self) -> RouterRoute
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RouterRoute
impl Debug for RouterRoute
Source§impl<'de> Deserialize<'de> for RouterRoute
impl<'de> Deserialize<'de> for RouterRoute
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>,
Source§impl JsonSchema for RouterRoute
impl JsonSchema for RouterRoute
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more