pub struct Instance {Show 14 fields
pub host_name: String,
pub app: String,
pub ip_addr: String,
pub vip_address: String,
pub secure_vip_address: String,
pub status: StatusType,
pub port: Option<PortData>,
pub secure_port: PortData,
pub home_page_url: String,
pub status_page_url: String,
pub health_check_url: String,
pub data_center_info: DataCenterInfo,
pub lease_info: Option<LeaseInfo>,
pub metadata: Option<HashMap<String, String>>,
}Fields§
§host_name: StringThis doubles as the instance ID, because why not, Eureka?
app: String§ip_addr: String§vip_address: String§secure_vip_address: String§status: StatusType§port: Option<PortData>§secure_port: PortData§home_page_url: String§status_page_url: String§health_check_url: String§data_center_info: DataCenterInfo§lease_info: Option<LeaseInfo>§metadata: Option<HashMap<String, String>>optional app specific metadata
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Instance
impl<'de> Deserialize<'de> for Instance
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 Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more