pub struct ReadMemoryResponseBody {
pub address: String,
pub unreadable_bytes: Option<i32>,
pub data: Option<String>,
/* private fields */
}
Fields§
§address: String
The address of the first byte of data returned.
Treated as a hex value if prefixed with ‘0x’, or as a decimal value otherwise.
unreadable_bytes: Option<i32>
The number of unreadable bytes encountered after the last successfully read byte.
This can be used to determine the number of bytes that must be skipped before a subsequent ‘readMemory’ request will succeed.
data: Option<String>
The bytes read from memory, encoded using base64.
Implementations§
Source§impl ReadMemoryResponseBody
impl ReadMemoryResponseBody
Sourcepub fn builder() -> ReadMemoryResponseBodyBuilder<((), (), ())>
pub fn builder() -> ReadMemoryResponseBodyBuilder<((), (), ())>
Create a builder for building ReadMemoryResponseBody
.
On the builder, call .address(...)
, .unreadable_bytes(...)
(optional), .data(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ReadMemoryResponseBody
.
Trait Implementations§
Source§impl Clone for ReadMemoryResponseBody
impl Clone for ReadMemoryResponseBody
Source§fn clone(&self) -> ReadMemoryResponseBody
fn clone(&self) -> ReadMemoryResponseBody
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ReadMemoryResponseBody
impl Debug for ReadMemoryResponseBody
Source§impl<'de> Deserialize<'de> for ReadMemoryResponseBody
impl<'de> Deserialize<'de> for ReadMemoryResponseBody
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 From<ReadMemoryResponseBody> for SuccessResponse
impl From<ReadMemoryResponseBody> for SuccessResponse
Source§fn from(args: ReadMemoryResponseBody) -> Self
fn from(args: ReadMemoryResponseBody) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReadMemoryResponseBody
impl PartialEq for ReadMemoryResponseBody
Source§fn eq(&self, other: &ReadMemoryResponseBody) -> bool
fn eq(&self, other: &ReadMemoryResponseBody) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for ReadMemoryResponseBody
impl Serialize for ReadMemoryResponseBody
impl Eq for ReadMemoryResponseBody
impl StructuralPartialEq for ReadMemoryResponseBody
Auto Trait Implementations§
impl Freeze for ReadMemoryResponseBody
impl RefUnwindSafe for ReadMemoryResponseBody
impl Send for ReadMemoryResponseBody
impl Sync for ReadMemoryResponseBody
impl Unpin for ReadMemoryResponseBody
impl UnwindSafe for ReadMemoryResponseBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.