pub struct ServiceMetadata {
pub name: String,
pub namespace: String,
pub annotations: ServiceAnnotations,
}Fields§
§name: String§namespace: String§annotations: ServiceAnnotationsTrait Implementations§
Source§impl Debug for ServiceMetadata
impl Debug for ServiceMetadata
Source§impl Default for ServiceMetadata
impl Default for ServiceMetadata
Source§fn default() -> ServiceMetadata
fn default() -> ServiceMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceMetadata
impl<'de> Deserialize<'de> for ServiceMetadata
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 ServiceMetadata
impl RefUnwindSafe for ServiceMetadata
impl Send for ServiceMetadata
impl Sync for ServiceMetadata
impl Unpin for ServiceMetadata
impl UnsafeUnpin for ServiceMetadata
impl UnwindSafe for ServiceMetadata
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