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: String
Name of the compute node.
description: Option<String>
Description of the compute node.
acct_id: Uuid
The account ID of the account that this compute node belongs to.
ipaddress: Option<String>
IP Address of the compute node.
node_id: Uuid
UUID 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
pub fn new(
name: String,
acct_id: Uuid,
node_id: Uuid,
status: NodeStatus,
apps: Vec<AppNodeInfo>,
sgx_info: SgxInfo
) -> Node
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Node
impl UnwindSafe for Node
Blanket Implementations
Mutably borrows from an owned value. Read more