pub struct QemuExecResponse {
pub data: Box<QemuExecResponseData>,
pub total: Option<i32>,
pub changes: Option<Value>,
}Fields§
§data: Box<QemuExecResponseData>§total: Option<i32>Optional total count, present for paginated list responses.
changes: Option<Value>Optional change summary returned by some PUT operations (one entry per modified field).
Implementations§
Source§impl QemuExecResponse
impl QemuExecResponse
pub fn new(data: QemuExecResponseData) -> QemuExecResponse
Trait Implementations§
Source§impl Clone for QemuExecResponse
impl Clone for QemuExecResponse
Source§fn clone(&self) -> QemuExecResponse
fn clone(&self) -> QemuExecResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QemuExecResponse
impl Debug for QemuExecResponse
Source§impl Default for QemuExecResponse
impl Default for QemuExecResponse
Source§fn default() -> QemuExecResponse
fn default() -> QemuExecResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QemuExecResponse
impl<'de> Deserialize<'de> for QemuExecResponse
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
Source§impl PartialEq for QemuExecResponse
impl PartialEq for QemuExecResponse
Source§fn eq(&self, other: &QemuExecResponse) -> bool
fn eq(&self, other: &QemuExecResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for QemuExecResponse
impl Serialize for QemuExecResponse
impl StructuralPartialEq for QemuExecResponse
Auto Trait Implementations§
impl Freeze for QemuExecResponse
impl RefUnwindSafe for QemuExecResponse
impl Send for QemuExecResponse
impl Sync for QemuExecResponse
impl Unpin for QemuExecResponse
impl UnsafeUnpin for QemuExecResponse
impl UnwindSafe for QemuExecResponse
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