pub struct ServiceRegistration {
pub id: String,
pub service_name: String,
pub namespace: String,
pub node_id: String,
pub datacenter: String,
pub job_id: String,
pub alloc_id: String,
pub tags: Vec<String>,
pub address: String,
pub port: u16,
pub create_index: u64,
pub modify_index: u64,
}Fields§
§id: String§service_name: String§namespace: String§node_id: String§datacenter: String§job_id: String§alloc_id: String§address: String§port: u16§create_index: u64§modify_index: u64Trait Implementations§
Source§impl Debug for ServiceRegistration
impl Debug for ServiceRegistration
Source§impl<'de> Deserialize<'de> for ServiceRegistration
impl<'de> Deserialize<'de> for ServiceRegistration
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 ServiceRegistration
impl RefUnwindSafe for ServiceRegistration
impl Send for ServiceRegistration
impl Sync for ServiceRegistration
impl Unpin for ServiceRegistration
impl UnsafeUnpin for ServiceRegistration
impl UnwindSafe for ServiceRegistration
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