pub struct VultrPlan {
pub id: String,
pub vcpu_count: u8,
pub ram: u32,
pub disk: f32,
pub bandwidth: f32,
pub monthly_cost: f32,
pub plan_type: String,
pub locations: Vec<String>,
}
Fields§
§id: String
§vcpu_count: u8
§ram: u32
§disk: f32
§bandwidth: f32
§monthly_cost: f32
§plan_type: String
§locations: Vec<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for VultrPlan
impl<'de> Deserialize<'de> for VultrPlan
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 VultrPlan
impl Send for VultrPlan
impl Sync for VultrPlan
impl Unpin for VultrPlan
impl UnwindSafe for VultrPlan
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