pub struct TcpRouteAction {
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 TcpRouteAction
impl Clone for TcpRouteAction
Source§fn clone(&self) -> TcpRouteAction
fn clone(&self) -> TcpRouteAction
Returns a duplicate 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 TcpRouteAction
impl Debug for TcpRouteAction
Source§impl Default for TcpRouteAction
impl Default for TcpRouteAction
Source§fn default() -> TcpRouteAction
fn default() -> TcpRouteAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TcpRouteAction
impl<'de> Deserialize<'de> for TcpRouteAction
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 TcpRouteAction
impl PartialEq for TcpRouteAction
Source§impl Serialize for TcpRouteAction
impl Serialize for TcpRouteAction
impl StructuralPartialEq for TcpRouteAction
Auto Trait Implementations§
impl Freeze for TcpRouteAction
impl RefUnwindSafe for TcpRouteAction
impl Send for TcpRouteAction
impl Sync for TcpRouteAction
impl Unpin for TcpRouteAction
impl UnwindSafe for TcpRouteAction
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