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
Source§fn clone(&self) -> PlatformIdentity
fn clone(&self) -> PlatformIdentity
Returns a duplicate 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 moreAuto 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