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 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<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 ExecuteMsg<BaseExecMsg, AdapterRequestMsg<RequestMsg>, Request>
impl<RequestMsg, Request, BaseExecMsg> From<AdapterRequestMsg<RequestMsg>> for ExecuteMsg<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 schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 for AdapterRequestMsg<Request>
impl<Request: PartialEq> PartialEq for AdapterRequestMsg<Request>
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> Freeze for AdapterRequestMsg<Request>where
Request: Freeze,
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