pub struct ServicePort {
pub name: Option<String>,
pub node_port: Option<u16>,
pub port: u16,
pub target_port: Option<u16>,
}
Fields§
§name: Option<String>
§node_port: Option<u16>
§port: u16
§target_port: Option<u16>
Trait Implementations§
Source§impl Clone for ServicePort
impl Clone for ServicePort
Source§fn clone(&self) -> ServicePort
fn clone(&self) -> ServicePort
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 ServicePort
impl Debug for ServicePort
Source§impl Default for ServicePort
impl Default for ServicePort
Source§fn default() -> ServicePort
fn default() -> ServicePort
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServicePort
impl<'de> Deserialize<'de> for ServicePort
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 ServicePort
impl PartialEq for ServicePort
Source§impl Serialize for ServicePort
impl Serialize for ServicePort
impl StructuralPartialEq for ServicePort
Auto Trait Implementations§
impl Freeze for ServicePort
impl RefUnwindSafe for ServicePort
impl Send for ServicePort
impl Sync for ServicePort
impl Unpin for ServicePort
impl UnwindSafe for ServicePort
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