pub struct HttpRouteAction {
pub weighted_targets: Vec<WeightedTarget>,
}
Expand description
An object that represents the action to take if a match is determined.
Fields§
§weighted_targets: Vec<WeightedTarget>
An object that represents the targets that traffic is routed to when a request matches the route.
Trait Implementations§
Source§impl Clone for HttpRouteAction
impl Clone for HttpRouteAction
Source§fn clone(&self) -> HttpRouteAction
fn clone(&self) -> HttpRouteAction
Returns a copy of the value. Read more
1.0.0 · 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 HttpRouteAction
impl Debug for HttpRouteAction
Source§impl Default for HttpRouteAction
impl Default for HttpRouteAction
Source§fn default() -> HttpRouteAction
fn default() -> HttpRouteAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HttpRouteAction
impl<'de> Deserialize<'de> for HttpRouteAction
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
Source§impl PartialEq for HttpRouteAction
impl PartialEq for HttpRouteAction
Source§impl Serialize for HttpRouteAction
impl Serialize for HttpRouteAction
impl StructuralPartialEq for HttpRouteAction
Auto Trait Implementations§
impl Freeze for HttpRouteAction
impl RefUnwindSafe for HttpRouteAction
impl Send for HttpRouteAction
impl Sync for HttpRouteAction
impl Unpin for HttpRouteAction
impl UnwindSafe for HttpRouteAction
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