pub struct IService {
pub name: String,
pub id: String,
pub port: u32,
pub region: Option<String>,
pub zone: Option<String>,
pub host: String,
pub secure: bool,
pub metadata: Option<HashMap<String, String>>,
pub tag: Option<Vec<String>>,
pub state: ServiceInstanceState,
}Fields§
§name: String§id: String§port: u32§region: Option<String>§zone: Option<String>§host: String§secure: bool§metadata: Option<HashMap<String, String>>§tag: Option<Vec<String>>§state: ServiceInstanceStateTrait Implementations§
Auto Trait Implementations§
impl Freeze for IService
impl RefUnwindSafe for IService
impl Send for IService
impl Sync for IService
impl Unpin for IService
impl UnwindSafe for IService
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