pub struct RoutePatch {
pub priority: Option<i64>,
}Expand description
RoutePatch
JSON schema
{
"type": "object",
"properties": {
"priority": {
"description": "Redirect and Rewrite Rules are applied in priority
order starting at 0. Moves this route to the specified priority and
adjusts other route priorities accordingly.",
"type": "integer",
"x-go-type": "*int"
}
}
}Fields§
§priority: Option<i64>Redirect and Rewrite Rules are applied in priority order starting at 0. Moves this route to the specified priority and adjusts other route priorities accordingly.
Trait Implementations§
Source§impl Clone for RoutePatch
impl Clone for RoutePatch
Source§fn clone(&self) -> RoutePatch
fn clone(&self) -> RoutePatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoutePatch
impl Debug for RoutePatch
Source§impl Default for RoutePatch
impl Default for RoutePatch
Source§impl<'de> Deserialize<'de> for RoutePatch
impl<'de> Deserialize<'de> for RoutePatch
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 RoutePatch
impl RefUnwindSafe for RoutePatch
impl Send for RoutePatch
impl Sync for RoutePatch
impl Unpin for RoutePatch
impl UnsafeUnpin for RoutePatch
impl UnwindSafe for RoutePatch
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