pub struct RequiredWitnessSet(/* private fields */);Implementations§
Source§impl RequiredWitnessSet
impl RequiredWitnessSet
pub fn add_vkey_key_hash(&mut self, hash: &Ed25519KeyHash)
pub fn add_bootstrap(&mut self, address: &ByronAddress)
pub fn add_script_ref(&mut self, script_hash: &ScriptHash)
pub fn add_script_hash(&mut self, script_hash: &ScriptHash)
pub fn add_plutus_datum_hash(&mut self, plutus_datum: &DatumHash)
pub fn add_redeemer_tag(&mut self, redeemer: &RedeemerWitnessKey)
pub fn add_all(&mut self, requirements: &RequiredWitnessSet)
pub fn new() -> Self
pub fn withdrawal_required_wits(&mut self, address: &RewardAddress)
Trait Implementations§
Source§impl AsRef<RequiredWitnessSet> for RequiredWitnessSet
impl AsRef<RequiredWitnessSet> for RequiredWitnessSet
Source§fn as_ref(&self) -> &RequiredWitnessSet
fn as_ref(&self) -> &RequiredWitnessSet
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for RequiredWitnessSet
impl Clone for RequiredWitnessSet
Source§fn clone(&self) -> RequiredWitnessSet
fn clone(&self) -> RequiredWitnessSet
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 RequiredWitnessSet
impl Debug for RequiredWitnessSet
Source§impl Default for RequiredWitnessSet
impl Default for RequiredWitnessSet
Source§fn default() -> RequiredWitnessSet
fn default() -> RequiredWitnessSet
Returns the “default value” for a type. Read more
Source§impl From<RequiredWitnessSet> for JsValue
impl From<RequiredWitnessSet> for JsValue
Source§fn from(value: RequiredWitnessSet) -> Self
fn from(value: RequiredWitnessSet) -> Self
Converts to this type from the input type.
Source§impl From<RequiredWitnessSet> for RequiredWitnessSet
impl From<RequiredWitnessSet> for RequiredWitnessSet
Source§fn from(native: RequiredWitnessSet) -> Self
fn from(native: RequiredWitnessSet) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for RequiredWitnessSet
impl FromWasmAbi for RequiredWitnessSet
Source§impl Into<RequiredWitnessSet> for RequiredWitnessSet
impl Into<RequiredWitnessSet> for RequiredWitnessSet
Source§fn into(self) -> RequiredWitnessSet
fn into(self) -> RequiredWitnessSet
Converts this type into the (usually inferred) input type.
Source§impl IntoWasmAbi for RequiredWitnessSet
impl IntoWasmAbi for RequiredWitnessSet
Source§impl RefFromWasmAbi for RequiredWitnessSet
impl RefFromWasmAbi for RequiredWitnessSet
Source§type Anchor = RcRef<RequiredWitnessSet>
type Anchor = RcRef<RequiredWitnessSet>
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 TryFromJsValue for RequiredWitnessSet
impl TryFromJsValue for RequiredWitnessSet
Source§impl VectorFromWasmAbi for RequiredWitnessSet
impl VectorFromWasmAbi for RequiredWitnessSet
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[RequiredWitnessSet]>
Source§impl VectorIntoJsValue for RequiredWitnessSet
impl VectorIntoJsValue for RequiredWitnessSet
fn vector_into_jsvalue(vector: Box<[RequiredWitnessSet]>) -> JsValue
Source§impl VectorIntoWasmAbi for RequiredWitnessSet
impl VectorIntoWasmAbi for RequiredWitnessSet
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[RequiredWitnessSet]>) -> Self::Abi
Source§impl WasmDescribeVector for RequiredWitnessSet
impl WasmDescribeVector for RequiredWitnessSet
impl SupportsConstructor for RequiredWitnessSet
impl SupportsInstanceProperty for RequiredWitnessSet
impl SupportsStaticProperty for RequiredWitnessSet
Auto Trait Implementations§
impl Freeze for RequiredWitnessSet
impl RefUnwindSafe for RequiredWitnessSet
impl Send for RequiredWitnessSet
impl Sync for RequiredWitnessSet
impl Unpin for RequiredWitnessSet
impl UnwindSafe for RequiredWitnessSet
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.