Struct fuel_gql_client::schema::ReadMemoryResponse
source · [−]pub struct ReadMemoryResponse {
pub body: Option<ReadMemoryResponseBody>,
pub command: String,
pub message: Option<String>,
pub request_seq: i64,
pub seq: i64,
pub success: bool,
pub type_: String,
}
Fields
body: Option<ReadMemoryResponseBody>
Contains request result if success is true and optional error details if success is false.
command: String
The command requested.
message: Option<String>
Contains the raw error in short form if ‘success’ is false. This raw error might be interpreted by the frontend and is not shown in the UI. Some predefined values exist.
request_seq: i64
Sequence number of the corresponding request.
seq: i64
Sequence number (also known as message ID). For protocol messages of type ‘request’ this ID can be used to cancel the request.
success: bool
Outcome of the request. If true, the request was successful and the ‘body’ attribute may contain the result of the request. If the value is false, the attribute ‘message’ contains the error in short form and the ‘body’ may contain additional information (see ‘ErrorResponse.body.error’).
type_: String
Message type.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ReadMemoryResponse
impl Send for ReadMemoryResponse
impl Sync for ReadMemoryResponse
impl Unpin for ReadMemoryResponse
impl UnwindSafe for ReadMemoryResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more