pub struct NodeDescription {
pub engine: Option<EngineDescription>,
pub hostname: Option<String>,
pub platform: Option<Platform>,
pub resources: Option<ResourceObject>,
pub tls_info: Option<TlsInfo>,
}
Expand description
NodeDescription encapsulates the properties of the Node as reported by the agent.
Fields§
§engine: Option<EngineDescription>
§hostname: Option<String>
§platform: Option<Platform>
§resources: Option<ResourceObject>
§tls_info: Option<TlsInfo>
Trait Implementations§
Source§impl Clone for NodeDescription
impl Clone for NodeDescription
Source§fn clone(&self) -> NodeDescription
fn clone(&self) -> NodeDescription
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NodeDescription
impl Debug for NodeDescription
Source§impl<'de> Deserialize<'de> for NodeDescription
impl<'de> Deserialize<'de> for NodeDescription
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
Source§impl PartialEq for NodeDescription
impl PartialEq for NodeDescription
Source§impl Serialize for NodeDescription
impl Serialize for NodeDescription
impl StructuralPartialEq for NodeDescription
Auto Trait Implementations§
impl Freeze for NodeDescription
impl RefUnwindSafe for NodeDescription
impl Send for NodeDescription
impl Sync for NodeDescription
impl Unpin for NodeDescription
impl UnwindSafe for NodeDescription
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