pub struct ServiceRegistrationListStub {
pub namespace: String,
pub services: Vec<ServiceRegistrationStub>,
}
Expand description
ServiceRegistrationListStub represents all service registrations held within a single namespace.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§namespace: String
Namespace details the namespace in which these services have been registered.
services: Vec<ServiceRegistrationStub>
Services is a list of services found within the namespace.
Trait Implementations§
Source§impl Clone for ServiceRegistrationListStub
impl Clone for ServiceRegistrationListStub
Source§fn clone(&self) -> ServiceRegistrationListStub
fn clone(&self) -> ServiceRegistrationListStub
Returns a copy 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 ServiceRegistrationListStub
impl Debug for ServiceRegistrationListStub
Source§impl Default for ServiceRegistrationListStub
impl Default for ServiceRegistrationListStub
Source§fn default() -> ServiceRegistrationListStub
fn default() -> ServiceRegistrationListStub
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceRegistrationListStub
impl<'de> Deserialize<'de> for ServiceRegistrationListStub
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 StructuralPartialEq for ServiceRegistrationListStub
Auto Trait Implementations§
impl Freeze for ServiceRegistrationListStub
impl RefUnwindSafe for ServiceRegistrationListStub
impl Send for ServiceRegistrationListStub
impl Sync for ServiceRegistrationListStub
impl Unpin for ServiceRegistrationListStub
impl UnwindSafe for ServiceRegistrationListStub
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