Trait scrypto::resource::ScryptoProof
source · pub trait ScryptoProof {
// Required methods
fn contains_amount(&self, amount: Decimal) -> bool;
fn amount(&self) -> Decimal;
fn resource_address(&self) -> ResourceAddress;
fn drop(self);
fn clone(&self) -> Self;
fn authorize<F: FnOnce() -> O, O>(&self, f: F) -> O;
fn as_fungible(&self) -> CheckedFungibleProof;
fn as_non_fungible(&self) -> CheckedNonFungibleProof;
// Provided method
fn resource_manager(&self) -> ResourceManager { ... }
}
Required Methods§
fn contains_amount(&self, amount: Decimal) -> bool
fn amount(&self) -> Decimal
fn resource_address(&self) -> ResourceAddress
fn drop(self)
fn clone(&self) -> Self
fn as_fungible(&self) -> CheckedFungibleProof
fn as_non_fungible(&self) -> CheckedNonFungibleProof
Provided Methods§
fn resource_manager(&self) -> ResourceManager
Object Safety§
This trait is not object safe.