pub struct ForeignCallResult<F> {
pub values: Vec<ForeignCallParam<F>>,
}
Expand description
Represents the full output of a foreign call.
Fields§
§values: Vec<ForeignCallParam<F>>
Resolved output values of the foreign call.
Trait Implementations§
Source§impl<F: Clone> Clone for ForeignCallResult<F>
impl<F: Clone> Clone for ForeignCallResult<F>
Source§fn clone(&self) -> ForeignCallResult<F>
fn clone(&self) -> ForeignCallResult<F>
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<F: Debug> Debug for ForeignCallResult<F>
impl<F: Debug> Debug for ForeignCallResult<F>
Source§impl<F: Default> Default for ForeignCallResult<F>
impl<F: Default> Default for ForeignCallResult<F>
Source§fn default() -> ForeignCallResult<F>
fn default() -> ForeignCallResult<F>
Returns the “default value” for a type. Read more
Source§impl<'de, F> Deserialize<'de> for ForeignCallResult<F>where
F: Deserialize<'de>,
impl<'de, F> Deserialize<'de> for ForeignCallResult<F>where
F: 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<F> From<F> for ForeignCallResult<F>
impl<F> From<F> for ForeignCallResult<F>
Source§impl<F> From<Vec<F>> for ForeignCallResult<F>
impl<F> From<Vec<F>> for ForeignCallResult<F>
Source§impl<F> From<Vec<ForeignCallParam<F>>> for ForeignCallResult<F>
impl<F> From<Vec<ForeignCallParam<F>>> for ForeignCallResult<F>
Source§fn from(values: Vec<ForeignCallParam<F>>) -> Self
fn from(values: Vec<ForeignCallParam<F>>) -> Self
Converts to this type from the input type.
Source§impl<F: PartialEq> PartialEq for ForeignCallResult<F>
impl<F: PartialEq> PartialEq for ForeignCallResult<F>
Source§impl<F> Serialize for ForeignCallResult<F>where
F: Serialize,
impl<F> Serialize for ForeignCallResult<F>where
F: Serialize,
impl<F: Eq> Eq for ForeignCallResult<F>
impl<F> StructuralPartialEq for ForeignCallResult<F>
Auto Trait Implementations§
impl<F> Freeze for ForeignCallResult<F>
impl<F> RefUnwindSafe for ForeignCallResult<F>where
F: RefUnwindSafe,
impl<F> Send for ForeignCallResult<F>where
F: Send,
impl<F> Sync for ForeignCallResult<F>where
F: Sync,
impl<F> Unpin for ForeignCallResult<F>where
F: Unpin,
impl<F> UnwindSafe for ForeignCallResult<F>where
F: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more