pub enum Layer1Ptr {
Utxo(Outpoint),
}
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Layer1Ptr
impl<'de> Deserialize<'de> for Layer1Ptr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Layer1Ptr
impl Ord for Layer1Ptr
Source§impl PartialOrd for Layer1Ptr
impl PartialOrd for Layer1Ptr
Source§impl StrictDecode for Layer1Ptr
impl StrictDecode for Layer1Ptr
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for Layer1Ptr
impl StrictDumb for Layer1Ptr
fn strict_dumb() -> Self
Source§impl StrictEncode for Layer1Ptr
impl StrictEncode for Layer1Ptr
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictSum for Layer1Ptr
impl StrictSum for Layer1Ptr
const ALL_VARIANTS: &'static [(u8, &'static str)]
fn variant_name(&self) -> &'static str
fn strict_check_variants()
fn variant_name_by_tag(tag: u8) -> Option<VariantName>
fn variant_ord(&self) -> u8
Source§impl StrictType for Layer1Ptr
impl StrictType for Layer1Ptr
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_CONTRACT
fn strict_name() -> Option<TypeName>
Source§impl StrictUnion for Layer1Ptr
impl StrictUnion for Layer1Ptr
fn strict_type_info() -> TypeInfo<Self>
impl Eq for Layer1Ptr
impl StructuralPartialEq for Layer1Ptr
Auto Trait Implementations§
impl Freeze for Layer1Ptr
impl RefUnwindSafe for Layer1Ptr
impl Send for Layer1Ptr
impl Sync for Layer1Ptr
impl Unpin for Layer1Ptr
impl UnwindSafe for Layer1Ptr
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.