Struct oxide_api::types::RouterRoute
source · [−]pub struct RouterRoute {
pub destination: RouteDestination,
pub identity: User,
pub kind: RouterRouteKind,
pub router_id: String,
pub target: RouteTarget,
}Expand description
A route defines a rule that governs where traffic should be sent based on its destination.
Fields
destination: RouteDestinationidentity: User- Client view of a
User
kind: RouterRouteKind- The classification of a
RouterRouteas 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
router_id: String- human-readable free-form text about a resource
target: RouteTargetTrait 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 RouterRoute
impl Send for RouterRoute
impl Sync for RouterRoute
impl Unpin for RouterRoute
impl UnwindSafe for RouterRoute
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more