pub struct CpuType {
pub id: String,
pub display_name: String,
pub cores: f64,
pub threads_per_core: f64,
pub group_id: String,
}Expand description
Detailed information about CPU resources for a Pod.
Contains specifications about the CPU configuration including core count, threading capabilities, and organizational grouping.
Fields§
§id: StringUnique identifier for this CPU type.
display_name: StringHuman-readable display name for the CPU type.
cores: f64Number of physical CPU cores available.
threads_per_core: f64Number of threads supported per physical core.
group_id: StringGroup identifier for organizing similar CPU types.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CpuType
impl<'de> Deserialize<'de> for CpuType
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 CpuType
impl RefUnwindSafe for CpuType
impl Send for CpuType
impl Sync for CpuType
impl Unpin for CpuType
impl UnwindSafe for CpuType
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