pub struct ServiceInstanceId {
pub service_id: ServiceId,
pub instance_id: InstanceId,
pub major_version: MajorVersion,
pub minor_version: MinorVersion,
}Expand description
Composite identifier for a discovered service instance on the network.
Fields§
§service_id: ServiceId§instance_id: InstanceId§major_version: MajorVersion§minor_version: MinorVersionTrait Implementations§
Source§impl Clone for ServiceInstanceId
impl Clone for ServiceInstanceId
Source§fn clone(&self) -> ServiceInstanceId
fn clone(&self) -> ServiceInstanceId
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 moreSource§impl Debug for ServiceInstanceId
impl Debug for ServiceInstanceId
Source§impl Display for ServiceInstanceId
impl Display for ServiceInstanceId
Source§impl Hash for ServiceInstanceId
impl Hash for ServiceInstanceId
Source§impl PartialEq for ServiceInstanceId
impl PartialEq for ServiceInstanceId
impl Copy for ServiceInstanceId
impl Eq for ServiceInstanceId
impl StructuralPartialEq for ServiceInstanceId
Auto Trait Implementations§
impl Freeze for ServiceInstanceId
impl RefUnwindSafe for ServiceInstanceId
impl Send for ServiceInstanceId
impl Sync for ServiceInstanceId
impl Unpin for ServiceInstanceId
impl UnsafeUnpin for ServiceInstanceId
impl UnwindSafe for ServiceInstanceId
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