pub struct TeePodNode {
pub images: Vec<TeePodImage>,
pub listed: bool,
pub name: String,
pub remaining_cvm_slots: u64,
pub remaining_memory: f64,
pub remaining_vcpu: f64,
pub resource_score: f64,
pub teepod_id: u64,
}Expand description
Information about a TEEPod node.
Fields§
§images: Vec<TeePodImage>Available VM images
listed: boolWhether the node is publicly listed
name: StringNode name
remaining_cvm_slots: u64Number of remaining CVM slots
remaining_memory: f64Remaining memory in MB
remaining_vcpu: f64Remaining virtual CPU capacity
resource_score: f64Resource availability score (0.0-1.0)
teepod_id: u64Unique identifier for the TEEPod
Trait Implementations§
Source§impl Clone for TeePodNode
impl Clone for TeePodNode
Source§fn clone(&self) -> TeePodNode
fn clone(&self) -> TeePodNode
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 moreSource§impl Debug for TeePodNode
impl Debug for TeePodNode
Source§impl<'de> Deserialize<'de> for TeePodNode
impl<'de> Deserialize<'de> for TeePodNode
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
Auto Trait Implementations§
impl Freeze for TeePodNode
impl RefUnwindSafe for TeePodNode
impl Send for TeePodNode
impl Sync for TeePodNode
impl Unpin for TeePodNode
impl UnwindSafe for TeePodNode
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