pub struct ScriptData<'b> {
pub redeemers: Option<Redeemers>,
pub datums: Option<KeepRaw<'b, NonEmptySet<KeepRaw<'b, PlutusData>>>>,
pub language_views: Option<LanguageViews>,
}Fields§
§redeemers: Option<Redeemers>§datums: Option<KeepRaw<'b, NonEmptySet<KeepRaw<'b, PlutusData>>>>§language_views: Option<LanguageViews>Implementations§
Source§impl<'b> ScriptData<'b>
impl<'b> ScriptData<'b>
pub fn build_for( witness: &WitnessSet<'b>, language_views_opt: &Option<LanguageViews>, ) -> Option<Self>
Trait Implementations§
Source§impl<'b> Clone for ScriptData<'b>
impl<'b> Clone for ScriptData<'b>
Source§fn clone(&self) -> ScriptData<'b>
fn clone(&self) -> ScriptData<'b>
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 moreAuto Trait Implementations§
impl<'b> Freeze for ScriptData<'b>
impl<'b> RefUnwindSafe for ScriptData<'b>
impl<'b> Send for ScriptData<'b>
impl<'b> Sync for ScriptData<'b>
impl<'b> Unpin for ScriptData<'b>
impl<'b> UnsafeUnpin for ScriptData<'b>
impl<'b> UnwindSafe for ScriptData<'b>
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