Struct podman_api::models::ServiceInfo
source · pub struct ServiceInfo {
pub local_lb_index: Option<i64>,
pub ports: Option<Vec<String, Global>>,
pub tasks: Option<Vec<Task, Global>>,
pub vip: Option<String>,
}
Expand description
ServiceInfo represents service parameters with the list of service’s tasks
Fields§
§local_lb_index: Option<i64>
§ports: Option<Vec<String, Global>>
§tasks: Option<Vec<Task, Global>>
§vip: Option<String>
Trait Implementations§
source§impl Clone for ServiceInfo
impl Clone for ServiceInfo
source§fn clone(&self) -> ServiceInfo
fn clone(&self) -> ServiceInfo
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 ServiceInfo
impl Debug for ServiceInfo
source§impl<'de> Deserialize<'de> for ServiceInfo
impl<'de> Deserialize<'de> for ServiceInfo
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ServiceInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ServiceInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ServiceInfo> for ServiceInfo
impl PartialEq<ServiceInfo> for ServiceInfo
source§fn eq(&self, other: &ServiceInfo) -> bool
fn eq(&self, other: &ServiceInfo) -> bool
source§impl Serialize for ServiceInfo
impl Serialize for ServiceInfo
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more