pub struct ServiceInstanceInfo {
pub module: String,
pub instance_id: String,
pub endpoint: ServiceEndpoint,
pub version: Option<String>,
}Expand description
Information about a service instance
Fields§
§module: StringModule name this instance belongs to
instance_id: StringUnique instance identifier
endpoint: ServiceEndpointPrimary endpoint for the instance
version: Option<String>Optional version string
Trait Implementations§
Source§impl Clone for ServiceInstanceInfo
impl Clone for ServiceInstanceInfo
Source§fn clone(&self) -> ServiceInstanceInfo
fn clone(&self) -> ServiceInstanceInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ServiceInstanceInfo
impl RefUnwindSafe for ServiceInstanceInfo
impl Send for ServiceInstanceInfo
impl Sync for ServiceInstanceInfo
impl Unpin for ServiceInstanceInfo
impl UnsafeUnpin for ServiceInstanceInfo
impl UnwindSafe for ServiceInstanceInfo
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