pub struct CatalogService {Show 16 fields
pub ID: String,
pub Node: String,
pub Address: String,
pub Datacenter: String,
pub TaggedAddresses: HashMap<String, String>,
pub NodeMeta: HashMap<String, String>,
pub ServiceID: String,
pub ServiceName: String,
pub ServiceAddress: String,
pub ServiceTags: Vec<String>,
pub ServiceMeta: HashMap<String, String>,
pub ServicePort: u32,
pub ServiceWeights: Weights,
pub ServiceEnableTagOverride: bool,
pub CreateIndex: u64,
pub ModifyIndex: u64,
}Fields§
§ID: String§Node: String§Address: String§Datacenter: String§TaggedAddresses: HashMap<String, String>§NodeMeta: HashMap<String, String>§ServiceID: String§ServiceName: String§ServiceAddress: String§ServiceTags: Vec<String>§ServiceMeta: HashMap<String, String>§ServicePort: u32§ServiceWeights: Weights§ServiceEnableTagOverride: bool§CreateIndex: u64§ModifyIndex: u64Trait Implementations§
Source§impl Debug for CatalogService
impl Debug for CatalogService
Source§impl Default for CatalogService
impl Default for CatalogService
Source§fn default() -> CatalogService
fn default() -> CatalogService
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogServicewhere
CatalogService: Default,
impl<'de> Deserialize<'de> for CatalogServicewhere
CatalogService: Default,
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
impl Eq for CatalogService
Source§impl PartialEq for CatalogService
impl PartialEq for CatalogService
Source§impl Serialize for CatalogService
impl Serialize for CatalogService
impl StructuralPartialEq for CatalogService
Auto Trait Implementations§
impl Freeze for CatalogService
impl RefUnwindSafe for CatalogService
impl Send for CatalogService
impl Sync for CatalogService
impl Unpin for CatalogService
impl UnsafeUnpin for CatalogService
impl UnwindSafe for CatalogService
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.