Struct cardano_serialization_lib::DatumSource 
source · pub struct DatumSource(/* private fields */);Implementations§
source§impl DatumSource
 
impl DatumSource
pub fn new(datum: &PlutusData) -> Self
pub fn new_ref_input(input: &TransactionInput) -> Self
Trait Implementations§
source§impl Clone for DatumSource
 
impl Clone for DatumSource
source§fn clone(&self) -> DatumSource
 
fn clone(&self) -> DatumSource
Returns a copy 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 DatumSource
 
impl Debug for DatumSource
source§impl Ord for DatumSource
 
impl Ord for DatumSource
source§fn cmp(&self, other: &DatumSource) -> Ordering
 
fn cmp(&self, other: &DatumSource) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DatumSource
 
impl PartialEq for DatumSource
source§fn eq(&self, other: &DatumSource) -> bool
 
fn eq(&self, other: &DatumSource) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for DatumSource
 
impl PartialOrd for DatumSource
source§fn partial_cmp(&self, other: &DatumSource) -> Option<Ordering>
 
fn partial_cmp(&self, other: &DatumSource) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moreimpl Eq for DatumSource
impl StructuralEq for DatumSource
impl StructuralPartialEq for DatumSource
Auto Trait Implementations§
impl RefUnwindSafe for DatumSource
impl Send for DatumSource
impl Sync for DatumSource
impl Unpin for DatumSource
impl UnwindSafe for DatumSource
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