pub trait ServicePortGetExt {
// Required method
fn myself(&self) -> &ServicePort;
// Provided methods
fn name(&self) -> Option<&str> { ... }
fn port(&self) -> i32 { ... }
fn target_port(&self) -> Option<&IntOrString> { ... }
fn node_port(&self) -> Option<i32> { ... }
fn app_protocol(&self) -> Option<&str> { ... }
fn protocol(&self) -> Option<&str> { ... }
}