pub struct RoutePort {
pub target_port: IntOrString,
}
Expand description
RoutePort defines a port mapping from a router to an endpoint in the service endpoints.
Fields§
§target_port: IntOrString
The target port on pods selected by the service this route points to. If this is a string, it will be looked up as a named port in the target endpoints port list. Required
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RoutePort
impl<'de> Deserialize<'de> for RoutePort
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
impl StructuralPartialEq for RoutePort
Auto Trait Implementations§
impl Freeze for RoutePort
impl RefUnwindSafe for RoutePort
impl Send for RoutePort
impl Sync for RoutePort
impl Unpin for RoutePort
impl UnwindSafe for RoutePort
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