pub struct SingleOutputBuilderResult(/* private fields */);Implementations§
Source§impl SingleOutputBuilderResult
impl SingleOutputBuilderResult
pub fn new(output: &TransactionOutput) -> SingleOutputBuilderResult
pub fn output(&self) -> TransactionOutput
pub fn communication_datum(&self) -> Option<PlutusData>
Trait Implementations§
Source§impl AsRef<SingleOutputBuilderResult> for SingleOutputBuilderResult
impl AsRef<SingleOutputBuilderResult> for SingleOutputBuilderResult
Source§fn as_ref(&self) -> &SingleOutputBuilderResult
fn as_ref(&self) -> &SingleOutputBuilderResult
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SingleOutputBuilderResult
impl Clone for SingleOutputBuilderResult
Source§fn clone(&self) -> SingleOutputBuilderResult
fn clone(&self) -> SingleOutputBuilderResult
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 Debug for SingleOutputBuilderResult
impl Debug for SingleOutputBuilderResult
Source§impl From<SingleOutputBuilderResult> for JsValue
impl From<SingleOutputBuilderResult> for JsValue
Source§fn from(value: SingleOutputBuilderResult) -> Self
fn from(value: SingleOutputBuilderResult) -> Self
Converts to this type from the input type.
Source§impl From<SingleOutputBuilderResult> for SingleOutputBuilderResult
impl From<SingleOutputBuilderResult> for SingleOutputBuilderResult
Source§fn from(native: SingleOutputBuilderResult) -> Self
fn from(native: SingleOutputBuilderResult) -> Self
Converts to this type from the input type.
Source§impl Into<SingleOutputBuilderResult> for SingleOutputBuilderResult
impl Into<SingleOutputBuilderResult> for SingleOutputBuilderResult
Source§fn into(self) -> SingleOutputBuilderResult
fn into(self) -> SingleOutputBuilderResult
Converts this type into the (usually inferred) input type.
Source§impl RefFromWasmAbi for SingleOutputBuilderResult
impl RefFromWasmAbi for SingleOutputBuilderResult
Source§type Anchor = RcRef<SingleOutputBuilderResult>
type Anchor = RcRef<SingleOutputBuilderResult>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl VectorFromWasmAbi for SingleOutputBuilderResult
impl VectorFromWasmAbi for SingleOutputBuilderResult
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[SingleOutputBuilderResult]>
Source§impl VectorIntoJsValue for SingleOutputBuilderResult
impl VectorIntoJsValue for SingleOutputBuilderResult
fn vector_into_jsvalue(vector: Box<[SingleOutputBuilderResult]>) -> JsValue
Source§impl VectorIntoWasmAbi for SingleOutputBuilderResult
impl VectorIntoWasmAbi for SingleOutputBuilderResult
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[SingleOutputBuilderResult]>) -> Self::Abi
Source§impl WasmDescribeVector for SingleOutputBuilderResult
impl WasmDescribeVector for SingleOutputBuilderResult
impl SupportsConstructor for SingleOutputBuilderResult
impl SupportsInstanceProperty for SingleOutputBuilderResult
impl SupportsStaticProperty for SingleOutputBuilderResult
Auto Trait Implementations§
impl Freeze for SingleOutputBuilderResult
impl RefUnwindSafe for SingleOutputBuilderResult
impl Send for SingleOutputBuilderResult
impl Sync for SingleOutputBuilderResult
impl Unpin for SingleOutputBuilderResult
impl UnwindSafe for SingleOutputBuilderResult
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 moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.