pub struct OutputRef {
pub output_index: u8,
pub kind: TransactionOutputKind,
/* private fields */
}Expand description
Reference from a slot or an input to the value that an earlier method wrote last into a declared output
Fields§
§output_index: u8Index of the declared output
kind: TransactionOutputKindWhether the value was written as #[output] or as a return value
Implementations§
Trait Implementations§
impl Copy for OutputRef
impl Eq for OutputRef
impl StructuralPartialEq for OutputRef
Auto Trait Implementations§
impl Freeze for OutputRef
impl RefUnwindSafe for OutputRef
impl Send for OutputRef
impl Sync for OutputRef
impl Unpin for OutputRef
impl UnsafeUnpin for OutputRef
impl UnwindSafe for OutputRef
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