pub struct Route {
pub destination: Option<String>,
pub id: Option<String>,
pub priority: Option<i64>,
pub source: Option<String>,
pub type_: Option<RouteType>,
}Expand description
Route
JSON schema
{
"type": "object",
"properties": {
"destination": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"description": "Redirect and Rewrite Rules are applied in priority
order starting at 0",
"type": "integer"
},
"source": {
"type": "string"
},
"type": {
"$ref": "#/components/schemas/routeType"
}
}
}Fields§
§destination: Option<String>§id: Option<String>§priority: Option<i64>Redirect and Rewrite Rules are applied in priority order starting at 0
source: Option<String>§type_: Option<RouteType>Trait 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