pub struct NodeView {
pub caps: Option<Vec<String>>,
pub commands: Option<Vec<String>>,
pub connected_at: Option<String>,
pub display_name: Option<String>,
pub id: Option<String>,
pub platform: Option<String>,
pub version: Option<String>,
}Fields§
§caps: Option<Vec<String>>Caps is the capability list the node reported. It is a self-report, useful to SHOW and never load-bearing: what a node may actually be asked to do is decided at the socket by the deployment’s allowlist.
commands: Option<Vec<String>>Commands is the command list the node reported. Same standing as Caps: a self-report, checked again at the socket before anything runs.
connected_at: Option<String>ConnectedAt is when this node’s socket was established, RFC3339 UTC.
display_name: Option<String>DisplayName is the human name the node reported for itself.
id: Option<String>ID is the node’s own identifier within the org — the value POST /v1/node/{id}/invoke addresses it by.
platform: Option<String>Platform is the operating system and architecture the node reported.
version: Option<String>Version is the node agent’s own version string.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeView
impl<'de> Deserialize<'de> for NodeView
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 NodeView
Auto Trait Implementations§
impl Freeze for NodeView
impl RefUnwindSafe for NodeView
impl Send for NodeView
impl Sync for NodeView
impl Unpin for NodeView
impl UnsafeUnpin for NodeView
impl UnwindSafe for NodeView
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