Struct rgbstd::stl::ProofOfReserves
source · pub struct ProofOfReserves {
pub utxo: Outpoint,
pub proof: SmallBlob,
}Fields§
§utxo: Outpoint§proof: SmallBlobImplementations§
source§impl ProofOfReserves
impl ProofOfReserves
pub fn new(utxo: Outpoint, proof: SmallBlob) -> ProofOfReserves
Trait Implementations§
source§impl Clone for ProofOfReserves
impl Clone for ProofOfReserves
source§fn clone(&self) -> ProofOfReserves
fn clone(&self) -> ProofOfReserves
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 ProofOfReserves
impl Debug for ProofOfReserves
source§impl<'de> Deserialize<'de> for ProofOfReserves
impl<'de> Deserialize<'de> for ProofOfReserves
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 Hash for ProofOfReserves
impl Hash for ProofOfReserves
source§impl Ord for ProofOfReserves
impl Ord for ProofOfReserves
source§fn cmp(&self, other: &ProofOfReserves) -> Ordering
fn cmp(&self, other: &ProofOfReserves) -> 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<ProofOfReserves> for ProofOfReserves
impl PartialEq<ProofOfReserves> for ProofOfReserves
source§fn eq(&self, other: &ProofOfReserves) -> bool
fn eq(&self, other: &ProofOfReserves) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ProofOfReserves> for ProofOfReserves
impl PartialOrd<ProofOfReserves> for ProofOfReserves
source§fn partial_cmp(&self, other: &ProofOfReserves) -> Option<Ordering>
fn partial_cmp(&self, other: &ProofOfReserves) -> 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 moresource§impl Serialize for ProofOfReserves
impl Serialize for ProofOfReserves
source§impl StrictDecode for ProofOfReserves
impl StrictDecode for ProofOfReserves
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
source§impl StrictDeserialize for ProofOfReserves
impl StrictDeserialize for ProofOfReserves
fn from_strict_serialized<const MAX: usize>( ast_data: Confined<Vec<u8, Global>, 0, MAX> ) -> Result<Self, DeserializeError>
fn strict_deserialize_from_file<const MAX: usize>( path: impl AsRef<Path> ) -> Result<Self, DeserializeError>
source§impl StrictDumb for ProofOfReserves
impl StrictDumb for ProofOfReserves
fn strict_dumb() -> Self
source§impl StrictEncode for ProofOfReserves
impl StrictEncode for ProofOfReserves
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, Error>
source§impl StrictSerialize for ProofOfReserves
impl StrictSerialize for ProofOfReserves
fn strict_serialized_len(&self) -> Result<usize, Error>
fn to_strict_serialized<const MAX: usize>( &self ) -> Result<Confined<Vec<u8, Global>, 0, MAX>, SerializeError>
fn strict_serialize_to_file<const MAX: usize>( &self, path: impl AsRef<Path> ) -> Result<(), SerializeError>
source§impl StrictStruct for ProofOfReserves
impl StrictStruct for ProofOfReserves
const ALL_FIELDS: &'static [&'static str] = _
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for ProofOfReserves
impl StrictType for ProofOfReserves
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_CONTRACT
fn strict_name() -> Option<TypeName>
impl Eq for ProofOfReserves
impl StrictProduct for ProofOfReserves
impl StructuralEq for ProofOfReserves
impl StructuralPartialEq for ProofOfReserves
Auto Trait Implementations§
impl RefUnwindSafe for ProofOfReserves
impl Send for ProofOfReserves
impl Sync for ProofOfReserves
impl Unpin for ProofOfReserves
impl UnwindSafe for ProofOfReserves
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.