Struct tackler_core::model::txn_data::TxnData
source · pub struct TxnData { /* private fields */ }Implementations§
source§impl TxnData
impl TxnData
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn from( mdi_opt: Option<MetadataItem>, txns: Txns, hash: &Option<Hash> ) -> Result<TxnData, Box<dyn Error>>
pub fn filter<'a>( &'a self, tf: &FilterDefinition ) -> Result<TxnSet<'a>, Box<dyn Error>>
pub fn get_all(&self) -> Result<TxnSet<'_>, Box<dyn Error>>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TxnData
impl Send for TxnData
impl Sync for TxnData
impl Unpin for TxnData
impl UnwindSafe for TxnData
Blanket Implementations§
§impl<T> AnyExt for Twhere
T: Any + ?Sized,
impl<T> AnyExt for Twhere T: Any + ?Sized,
§fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
fn downcast_ref<T>(this: &Self) -> Option<&T>where T: Any,
Attempts to downcast this to
T behind reference§fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where T: Any,
Attempts to downcast this to
T behind mutable reference§fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where T: Any,
Attempts to downcast this to
T behind Rc pointer§fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where T: Any,
Attempts to downcast this to
T behind Arc pointer§fn downcast_box<T>(
this: Box<Self, Global>
) -> Result<Box<T, Global>, Box<Self, Global>>where
T: Any,
fn downcast_box<T>( this: Box<Self, Global> ) -> Result<Box<T, Global>, Box<Self, Global>>where T: Any,
Attempts to downcast this to
T behind Box pointer§fn downcast_move<T>(this: Self) -> Option<T>where
T: Any,
Self: Sized,
fn downcast_move<T>(this: Self) -> Option<T>where T: Any, Self: Sized,
Attempts to downcast owned
Self to T,
useful only in generic context as a workaround for specialization