Struct scrypto::component::AccessController
source · 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> ) -> Bucket
Trait Implementations§
source§impl Clone for AccessController
impl Clone for AccessController
source§fn clone(&self) -> AccessController
fn clone(&self) -> AccessController
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 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
source§fn eq(&self, other: &AccessController) -> bool
fn eq(&self, other: &AccessController) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AccessController
impl Eq for AccessController
impl StructuralPartialEq for AccessController
Auto Trait Implementations§
impl RefUnwindSafe for AccessController
impl Send for AccessController
impl Sync for AccessController
impl Unpin for AccessController
impl UnwindSafe for AccessController
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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<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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more