pub struct Node {Show 16 fields
pub name: String,
pub description: Option<String>,
pub acct_id: Uuid,
pub ipaddress: Option<String>,
pub node_id: Uuid,
pub host_id: Option<String>,
pub zone_id: Option<Uuid>,
pub status: NodeStatus,
pub attested_at: Option<i64>,
pub certificate: Option<String>,
pub apps: Vec<AppNodeInfo>,
pub sgx_info: SgxInfo,
pub labels: Option<HashMap<String, String>>,
pub platform: Option<String>,
pub attestation_type: Option<String>,
pub error_report: Option<NodeErrorReport>,
}Fields§
§name: StringName of the compute node.
description: Option<String>Description of the compute node.
acct_id: UuidThe account ID of the account that this compute node belongs to.
ipaddress: Option<String>IP Address of the compute node.
node_id: UuidUUID for the compute node.
host_id: Option<String>No longer used.
zone_id: Option<Uuid>Zone ID of the zone this compute node belongs to.
status: NodeStatus§attested_at: Option<i64>The compute node attestation date
certificate: Option<String>The compute node attestation certificate
apps: Vec<AppNodeInfo>Apps associated with the compute node.
sgx_info: SgxInfo§labels: Option<HashMap<String, String>>§platform: Option<String>Platform information of the compute node.
attestation_type: Option<String>Node Attestation type (DCAP or EPID)
error_report: Option<NodeErrorReport>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Node, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Node, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Node
impl Serialize for Node
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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