pub struct ProvisionResponse {
pub instance_id: String,
pub status: String,
pub template: Option<String>,
pub zone: Option<String>,
pub ssh_address: Option<String>,
pub price_per_hour_usd: Option<f64>,
}Expand description
Response from provisioning a compute instance.
Fields§
§instance_id: StringInstance identifier.
status: StringCurrent instance status.
template: Option<String>Template that was provisioned.
zone: Option<String>Zone the instance was placed in.
ssh_address: Option<String>SSH connection address.
price_per_hour_usd: Option<f64>Estimated price per hour.
Trait Implementations§
Source§impl Clone for ProvisionResponse
impl Clone for ProvisionResponse
Source§fn clone(&self) -> ProvisionResponse
fn clone(&self) -> ProvisionResponse
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 ProvisionResponse
impl Debug for ProvisionResponse
Source§impl<'de> Deserialize<'de> for ProvisionResponse
impl<'de> Deserialize<'de> for ProvisionResponse
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 ProvisionResponse
impl RefUnwindSafe for ProvisionResponse
impl Send for ProvisionResponse
impl Sync for ProvisionResponse
impl Unpin for ProvisionResponse
impl UnsafeUnpin for ProvisionResponse
impl UnwindSafe for ProvisionResponse
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