pub struct MethodCallReferences<'a> {
pub slots: &'a [Option<u8>],
pub inputs: &'a [Option<u8>],
pub outputs: &'a [u8],
}Expand description
References of a method call to declared outputs, by position among the method’s arguments of
each kind, see TransactionPayloadBuilder::with_method_call()
Fields§
§slots: &'a [Option<u8>]Output index for each #[slot], whose value the slot gets instead of an explicit address.
None or no entry for an explicit address.
inputs: &'a [Option<u8>]Output index for each #[input], whose value the input gets instead of a value in the
payload. None or no entry for a value in the payload.
outputs: &'a [u8]Output index for each #[output] and the return value (last), which they write. Exactly
one entry for each output of the method.
Trait Implementations§
Source§impl<'a> Clone for MethodCallReferences<'a>
impl<'a> Clone for MethodCallReferences<'a>
Source§fn clone(&self) -> MethodCallReferences<'a>
fn clone(&self) -> MethodCallReferences<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for MethodCallReferences<'a>
Source§impl<'a> Debug for MethodCallReferences<'a>
impl<'a> Debug for MethodCallReferences<'a>
Source§impl<'a> Default for MethodCallReferences<'a>
impl<'a> Default for MethodCallReferences<'a>
Source§fn default() -> MethodCallReferences<'a>
fn default() -> MethodCallReferences<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for MethodCallReferences<'a>
impl<'a> RefUnwindSafe for MethodCallReferences<'a>
impl<'a> Send for MethodCallReferences<'a>
impl<'a> Sync for MethodCallReferences<'a>
impl<'a> Unpin for MethodCallReferences<'a>
impl<'a> UnsafeUnpin for MethodCallReferences<'a>
impl<'a> UnwindSafe for MethodCallReferences<'a>
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,
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