pub struct ComputeInstance {
pub id: String,
pub status: String,
pub template: Option<String>,
pub zone: Option<String>,
pub ssh_address: Option<String>,
pub created_at: Option<String>,
pub price_per_hour_usd: Option<f64>,
pub auto_teardown_minutes: Option<i32>,
}Expand description
A running compute instance.
Fields§
§id: StringInstance identifier.
status: StringCurrent status (e.g. “running”, “provisioning”, “stopped”).
template: Option<String>Template used.
zone: Option<String>Zone.
ssh_address: Option<String>SSH connection address.
created_at: Option<String>Creation timestamp.
price_per_hour_usd: Option<f64>Price per hour.
auto_teardown_minutes: Option<i32>Auto-teardown setting in minutes.
Trait Implementations§
Source§impl Clone for ComputeInstance
impl Clone for ComputeInstance
Source§fn clone(&self) -> ComputeInstance
fn clone(&self) -> ComputeInstance
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 ComputeInstance
impl Debug for ComputeInstance
Source§impl<'de> Deserialize<'de> for ComputeInstance
impl<'de> Deserialize<'de> for ComputeInstance
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 ComputeInstance
impl RefUnwindSafe for ComputeInstance
impl Send for ComputeInstance
impl Sync for ComputeInstance
impl Unpin for ComputeInstance
impl UnsafeUnpin for ComputeInstance
impl UnwindSafe for ComputeInstance
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