pub enum UtxoPattern<'a> {
ByAddress(&'a [u8]),
ByAssetPolicy(&'a [u8]),
ByAsset(&'a [u8], &'a [u8]),
}Variants§
Implementations§
Source§impl<'a> UtxoPattern<'a>
impl<'a> UtxoPattern<'a>
pub fn by_address(address: &'a [u8]) -> Self
pub fn by_asset_policy(policy: &'a [u8]) -> Self
pub fn by_asset(policy: &'a [u8], name: &'a [u8]) -> Self
Auto Trait Implementations§
impl<'a> Freeze for UtxoPattern<'a>
impl<'a> RefUnwindSafe for UtxoPattern<'a>
impl<'a> Send for UtxoPattern<'a>
impl<'a> Sync for UtxoPattern<'a>
impl<'a> Unpin for UtxoPattern<'a>
impl<'a> UnsafeUnpin for UtxoPattern<'a>
impl<'a> UnwindSafe for UtxoPattern<'a>
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