pub struct GetMemoryResponse {
pub code: i32,
pub message: String,
pub data: Option<MemoryItem>,
}Expand description
Response for get_memory: optional MemoryItem.
Fields§
§code: i32§message: String§data: Option<MemoryItem>Trait Implementations§
Source§impl Clone for GetMemoryResponse
impl Clone for GetMemoryResponse
Source§fn clone(&self) -> GetMemoryResponse
fn clone(&self) -> GetMemoryResponse
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 GetMemoryResponse
impl Debug for GetMemoryResponse
Source§impl<'de> Deserialize<'de> for GetMemoryResponse
impl<'de> Deserialize<'de> for GetMemoryResponse
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 GetMemoryResponse
impl RefUnwindSafe for GetMemoryResponse
impl Send for GetMemoryResponse
impl Sync for GetMemoryResponse
impl Unpin for GetMemoryResponse
impl UnsafeUnpin for GetMemoryResponse
impl UnwindSafe for GetMemoryResponse
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