pub struct ServiceInfo {
    pub local_lb_index: Option<i64>,
    pub ports: Option<Vec<String>>,
    pub tasks: Option<Vec<Task>>,
    pub vip: Option<String>,
}Available on crate feature 
v5 only.Expand description
ServiceInfo represents service parameters with the list of service’s tasks
Fields§
§local_lb_index: Option<i64>§ports: Option<Vec<String>>§tasks: Option<Vec<Task>>§vip: Option<String>Trait Implementations§
Source§impl Debug for ServiceInfo
 
impl Debug for ServiceInfo
Source§impl Default for ServiceInfo
 
impl Default for ServiceInfo
Source§fn default() -> ServiceInfo
 
fn default() -> ServiceInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceInfo
 
impl<'de> Deserialize<'de> for ServiceInfo
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
Auto Trait Implementations§
impl Freeze for ServiceInfo
impl RefUnwindSafe for ServiceInfo
impl Send for ServiceInfo
impl Sync for ServiceInfo
impl Unpin for ServiceInfo
impl UnwindSafe for ServiceInfo
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