Struct scaleway_rs::ServerType
source · pub struct ServerType {
pub id: String,
pub location: String,
pub alt_names: Vec<String>,
pub arch: String,
pub ncpus: u32,
pub ram: u64,
pub gpu: u32,
pub baremetal: bool,
pub monthly_price: f32,
pub hourly_price: f32,
pub network: ScalewayServerTypeNetwork,
}
Fields§
§id: String
§location: String
§alt_names: Vec<String>
§arch: String
§ncpus: u32
§ram: u64
§gpu: u32
§baremetal: bool
§monthly_price: f32
§hourly_price: f32
§network: ScalewayServerTypeNetwork
Trait Implementations§
source§impl Debug for ServerType
impl Debug for ServerType
source§impl<'de> Deserialize<'de> for ServerType
impl<'de> Deserialize<'de> for ServerType
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 RefUnwindSafe for ServerType
impl Send for ServerType
impl Sync for ServerType
impl Unpin for ServerType
impl UnwindSafe for ServerType
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