pub struct Rgb25(/* private fields */);
Implementations§
Methods from Deref<Target = ContractIface>§
pub fn contract_id(&self) -> ContractId
Sourcepub fn global(
&self,
name: impl Into<FieldName>,
) -> Result<SmallVec<StrictVal>, ContractError>
pub fn global( &self, name: impl Into<FieldName>, ) -> Result<SmallVec<StrictVal>, ContractError>
§Panics
If data are corrupted and contract schema doesn’t match interface implementations.
pub fn fungible( &self, name: impl Into<FieldName>, filter: &impl OutpointFilter, ) -> Result<LargeVec<FungibleAllocation>, ContractError>
pub fn outpoint( &self, _outpoint: Outpoint, ) -> LargeOrdMap<AssignmentType, LargeVec<TypedState>>
Trait Implementations§
Source§impl AsRef<ContractIface> for Rgb25
impl AsRef<ContractIface> for Rgb25
Source§fn as_ref(&self) -> &ContractIface
fn as_ref(&self) -> &ContractIface
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<ContractIface> for Rgb25
impl Borrow<ContractIface> for Rgb25
Source§fn borrow(&self) -> &ContractIface
fn borrow(&self) -> &ContractIface
Immutably borrows from an owned value. Read more
Source§impl From<ContractIface> for Rgb25
impl From<ContractIface> for Rgb25
Source§fn from(iface: ContractIface) -> Self
fn from(iface: ContractIface) -> Self
Converts to this type from the input type.
Source§impl From<Rgb25> for ContractIface
impl From<Rgb25> for ContractIface
Source§impl Wrapper for Rgb25
impl Wrapper for Rgb25
Source§type Inner = ContractIface
type Inner = ContractIface
Inner type wrapped by the current newtype
Source§fn from_inner(inner: Self::Inner) -> Self
fn from_inner(inner: Self::Inner) -> Self
Instantiates wrapper type with the inner data
Source§fn as_inner(&self) -> &Self::Inner
fn as_inner(&self) -> &Self::Inner
Returns reference to the inner representation for the wrapper type
Source§fn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Unwraps the wrapper returning the inner type
Source§impl WrapperMut for Rgb25
impl WrapperMut for Rgb25
Source§fn as_inner_mut(&mut self) -> &mut <Self as Wrapper>::Inner
fn as_inner_mut(&mut self) -> &mut <Self as Wrapper>::Inner
Returns a mutable reference to the inner representation for the wrapper
type
impl Eq for Rgb25
impl StructuralPartialEq for Rgb25
Auto Trait Implementations§
impl Freeze for Rgb25
impl RefUnwindSafe for Rgb25
impl Send for Rgb25
impl Sync for Rgb25
impl Unpin for Rgb25
impl UnwindSafe for Rgb25
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> 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.