Struct abstract_core_testing::adapter::AdapterRequestMsg
source · pub struct AdapterRequestMsg<Request> {
pub proxy_address: Option<String>,
pub request: Request,
}
Expand description
An adapter request. If proxy is None, then the sender must be an Account manager and the proxy address is extrapolated from the Account id.
Fields§
§proxy_address: Option<String>
§request: Request
The actual request
Implementations§
Trait Implementations§
source§impl<Request: Clone> Clone for AdapterRequestMsg<Request>
impl<Request: Clone> Clone for AdapterRequestMsg<Request>
source§fn clone(&self) -> AdapterRequestMsg<Request>
fn clone(&self) -> AdapterRequestMsg<Request>
Returns a copy 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<Request: Debug> Debug for AdapterRequestMsg<Request>
impl<Request: Debug> Debug for AdapterRequestMsg<Request>
source§impl<'de, Request> Deserialize<'de> for AdapterRequestMsg<Request>where
Request: Deserialize<'de>,
impl<'de, Request> Deserialize<'de> for AdapterRequestMsg<Request>where Request: Deserialize<'de>,
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<RequestMsg, Request, BaseExecMsg> From<AdapterRequestMsg<RequestMsg>> for MiddlewareExecMsg<BaseExecMsg, AdapterRequestMsg<RequestMsg>, Request>
impl<RequestMsg, Request, BaseExecMsg> From<AdapterRequestMsg<RequestMsg>> for MiddlewareExecMsg<BaseExecMsg, AdapterRequestMsg<RequestMsg>, Request>
source§fn from(request_msg: AdapterRequestMsg<RequestMsg>) -> Self
fn from(request_msg: AdapterRequestMsg<RequestMsg>) -> Self
Converts to this type from the input type.
source§impl<Request: JsonSchema> JsonSchema for AdapterRequestMsg<Request>
impl<Request: JsonSchema> JsonSchema for AdapterRequestMsg<Request>
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl<Request: PartialEq> PartialEq<AdapterRequestMsg<Request>> for AdapterRequestMsg<Request>
impl<Request: PartialEq> PartialEq<AdapterRequestMsg<Request>> for AdapterRequestMsg<Request>
source§fn eq(&self, other: &AdapterRequestMsg<Request>) -> bool
fn eq(&self, other: &AdapterRequestMsg<Request>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<Request> Serialize for AdapterRequestMsg<Request>where
Request: Serialize,
impl<Request> Serialize for AdapterRequestMsg<Request>where Request: Serialize,
impl<Request> StructuralPartialEq for AdapterRequestMsg<Request>
Auto Trait Implementations§
impl<Request> RefUnwindSafe for AdapterRequestMsg<Request>where Request: RefUnwindSafe,
impl<Request> Send for AdapterRequestMsg<Request>where Request: Send,
impl<Request> Sync for AdapterRequestMsg<Request>where Request: Sync,
impl<Request> Unpin for AdapterRequestMsg<Request>where Request: Unpin,
impl<Request> UnwindSafe for AdapterRequestMsg<Request>where Request: UnwindSafe,
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