pub struct AccessController {
pub handle: ObjectStubHandle,
}
Fields§
§handle: ObjectStubHandle
Implementations§
Source§impl AccessController
impl AccessController
pub fn create_proof(&mut self) -> Proof
pub fn initiate_recovery_as_primary( &mut self, rule_set: RuleSet, timed_recovery_delay_in_minutes: Option<u32>, )
pub fn initiate_recovery_as_recovery( &mut self, rule_set: RuleSet, timed_recovery_delay_in_minutes: Option<u32>, )
pub fn quick_confirm_primary_role_recovery_proposal( &mut self, rule_set: RuleSet, timed_recovery_delay_in_minutes: Option<u32>, )
pub fn quick_confirm_recovery_role_recovery_proposal( &mut self, rule_set: RuleSet, timed_recovery_delay_in_minutes: Option<u32>, )
pub fn timed_confirm_recovery( &mut self, rule_set: RuleSet, timed_recovery_delay_in_minutes: Option<u32>, )
pub fn cancel_primary_role_recovery_proposal(&mut self)
pub fn cancel_recovery_role_recovery_proposal(&mut self)
pub fn lock_primary_role(&mut self)
pub fn unlock_primary_role(&mut self)
pub fn stop_timed_recovery( &mut self, rule_set: RuleSet, timed_recovery_delay_in_minutes: Option<u32>, )
pub fn initiate_badge_withdraw_attempt_as_primary(&mut self)
pub fn initiate_badge_withdraw_attempt_as_recovery(&mut self)
pub fn quick_confirm_primary_role_badge_withdraw_attempt(&mut self) -> Bucket
pub fn quick_confirm_recovery_role_badge_withdraw_attempt(&mut self) -> Bucket
pub fn cancel_primary_role_badge_withdraw_attempt(&mut self)
pub fn cancel_recovery_role_badge_withdraw_attempt(&mut self)
pub fn mint_recovery_badges( &mut self, non_fungible_local_ids: Vec<NonFungibleLocalId>, ) -> NonFungibleBucket
pub fn lock_recovery_fee(&mut self, amount: Decimal)
pub fn withdraw_recovery_fee(&mut self, amount: Decimal) -> FungibleBucket
pub fn contribute_recovery_fee(&mut self, bucket: FungibleBucket)
Trait Implementations§
Source§impl Clone for AccessController
impl Clone for AccessController
Source§fn clone(&self) -> AccessController
fn clone(&self) -> AccessController
Returns a duplicate 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 AccessController
impl Debug for AccessController
Source§impl HasStub for AccessController
impl HasStub for AccessController
type Stub = AccessController
Source§impl HasTypeInfo for AccessController
impl HasTypeInfo for AccessController
const PACKAGE_ADDRESS: Option<PackageAddress>
const BLUEPRINT_NAME: &'static str = "AccessController"
const OWNED_TYPE_NAME: &'static str = "OwnedAccessController"
const GLOBAL_TYPE_NAME: &'static str = "GlobalAccessController"
fn blueprint_id() -> BlueprintId
Source§impl ObjectStub for AccessController
impl ObjectStub for AccessController
type AddressType = ComponentAddress
fn new(handle: ObjectStubHandle) -> Self
fn handle(&self) -> &ObjectStubHandle
fn call<A: ScryptoEncode, T: ScryptoDecode>(&self, method: &str, args: &A) -> T
fn call_ignore_rtn<A: ScryptoEncode>(&self, method: &str, args: &A)
fn call_raw<T: ScryptoDecode>(&self, method: &str, args: Vec<u8>) -> T
fn instance_of(&self, blueprint_id: &BlueprintId) -> bool
fn blueprint_id(&self) -> BlueprintId
Source§impl PartialEq for AccessController
impl PartialEq for AccessController
impl Copy for AccessController
impl Eq for AccessController
impl StructuralPartialEq for AccessController
Auto Trait Implementations§
impl Freeze for AccessController
impl RefUnwindSafe for AccessController
impl Send for AccessController
impl Sync for AccessController
impl Unpin for AccessController
impl UnwindSafe for AccessController
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<T, U> ContextualTryInto<U> for Twhere
U: ContextualTryFrom<T>,
impl<T, U> ContextualTryInto<U> for Twhere
U: ContextualTryFrom<T>,
type Error = <U as ContextualTryFrom<T>>::Error
type Context = <U as ContextualTryFrom<T>>::Context
fn contextual_try_into( self, context: &<U as ContextualTryFrom<T>>::Context, ) -> Result<U, <U as ContextualTryFrom<T>>::Error>
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.