pub struct PlatformIdentity {
pub node_id: String,
pub namespace: Option<String>,
pub labels: HashMap<String, String>,
}Expand description
Node identity in the platform environment. In Kubernetes: pod name, namespace, labels from Downward API. In local/test: hostname or user-supplied string.
Fields§
§node_id: String§namespace: Option<String>§labels: HashMap<String, String>Implementations§
Trait Implementations§
Source§impl Clone for PlatformIdentity
impl Clone for PlatformIdentity
Auto Trait Implementations§
impl Freeze for PlatformIdentity
impl RefUnwindSafe for PlatformIdentity
impl Send for PlatformIdentity
impl Sync for PlatformIdentity
impl Unpin for PlatformIdentity
impl UnsafeUnpin for PlatformIdentity
impl UnwindSafe for PlatformIdentity
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