pub enum Response {
Instantiate(InstantiateResponse),
Execute(ExecuteResponse),
Bank(BankResponse),
}
Variants
Instantiate(InstantiateResponse)
Execute(ExecuteResponse)
Bank(BankResponse)
Implementations
Trait Implementations
sourceimpl From<BankResponse> for Response
impl From<BankResponse> for Response
sourcefn from(value: BankResponse) -> Self
fn from(value: BankResponse) -> Self
Converts to this type from the input type.
sourceimpl From<ExecuteResponse> for Response
impl From<ExecuteResponse> for Response
sourcefn from(value: ExecuteResponse) -> Self
fn from(value: ExecuteResponse) -> Self
Converts to this type from the input type.
sourceimpl From<InstantiateResponse> for Response
impl From<InstantiateResponse> for Response
sourcefn from(value: InstantiateResponse) -> Self
fn from(value: InstantiateResponse) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Response
Auto Trait Implementations
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more