pub struct CvmStateResponse {
pub status: String,
pub is_running: bool,
}Expand description
CVM state from GET /api/v1/cvms/{cvm_id}/state.
Fields§
§status: String§is_running: boolTrait Implementations§
Source§impl Clone for CvmStateResponse
impl Clone for CvmStateResponse
Source§fn clone(&self) -> CvmStateResponse
fn clone(&self) -> CvmStateResponse
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 CvmStateResponse
impl Debug for CvmStateResponse
Source§impl<'de> Deserialize<'de> for CvmStateResponse
impl<'de> Deserialize<'de> for CvmStateResponse
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 CvmStateResponse
impl RefUnwindSafe for CvmStateResponse
impl Send for CvmStateResponse
impl Sync for CvmStateResponse
impl Unpin for CvmStateResponse
impl UnwindSafe for CvmStateResponse
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