#[repr(u8)]pub enum WitnessScope {
None = 0,
CalledByEntry = 1,
CustomContracts = 16,
Global = 128,
}Expand description
Witness scope for transaction signers.
Variants§
None = 0
No restrictions.
CalledByEntry = 1
Only the entry contract.
CustomContracts = 16
Custom contracts list.
Global = 128
Global scope.
Trait Implementations§
Source§impl Clone for WitnessScope
impl Clone for WitnessScope
Source§fn clone(&self) -> WitnessScope
fn clone(&self) -> WitnessScope
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 WitnessScope
impl Debug for WitnessScope
Source§impl PartialEq for WitnessScope
impl PartialEq for WitnessScope
impl Copy for WitnessScope
impl Eq for WitnessScope
impl StructuralPartialEq for WitnessScope
Auto Trait Implementations§
impl Freeze for WitnessScope
impl RefUnwindSafe for WitnessScope
impl Send for WitnessScope
impl Sync for WitnessScope
impl Unpin for WitnessScope
impl UnsafeUnpin for WitnessScope
impl UnwindSafe for WitnessScope
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