pub struct PoolPricing {
pub name: String,
pub node_type: String,
pub node_per_hour: f64,
pub node_vcpus: u32,
pub node_memory_bytes: u64,
pub machines: u32,
pub nodes: u32,
}Expand description
One pool of machines and the nodes they share, in dollars.
Fields§
§name: String§node_type: StringThe Google machine type of its nodes, like n2-standard-8.
node_per_hour: f64What one node costs an hour, which a machine alone in the pool pays whole.
node_vcpus: u32What one node sells to machines.
node_memory_bytes: u64§machines: u32The machines running in it now, and the nodes they fill.
nodes: u32Trait Implementations§
Source§impl Clone for PoolPricing
impl Clone for PoolPricing
Source§impl Debug for PoolPricing
impl Debug for PoolPricing
Source§impl<'de> Deserialize<'de> for PoolPricing
impl<'de> Deserialize<'de> for PoolPricing
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
Source§impl PartialEq for PoolPricing
impl PartialEq for PoolPricing
Source§impl Serialize for PoolPricing
impl Serialize for PoolPricing
impl StructuralPartialEq for PoolPricing
Auto Trait Implementations§
impl Forget for PoolPricing
impl Freeze for PoolPricing
impl Move for PoolPricing
impl RefUnwindSafe for PoolPricing
impl Send for PoolPricing
impl Sync for PoolPricing
impl Unpin for PoolPricing
impl UnsafeUnpin for PoolPricing
impl UnwindSafe for PoolPricing
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