Enum casper_types::GrantedAccess
source · pub enum GrantedAccess {
PreExisting,
Granted {
uref_addr: URefAddr,
newly_granted_access_rights: AccessRights,
},
}
Expand description
Used to indicate if a granted URef
was already held by the context.
Variants§
PreExisting
No new set of access rights were granted.
Granted
Fields
§
newly_granted_access_rights: AccessRights
The set of the newly granted access rights.
A new set of access rights were granted.
Trait Implementations§
source§impl Debug for GrantedAccess
impl Debug for GrantedAccess
source§impl PartialEq for GrantedAccess
impl PartialEq for GrantedAccess
source§fn eq(&self, other: &GrantedAccess) -> bool
fn eq(&self, other: &GrantedAccess) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GrantedAccess
impl StructuralEq for GrantedAccess
impl StructuralPartialEq for GrantedAccess
Auto Trait Implementations§
impl RefUnwindSafe for GrantedAccess
impl Send for GrantedAccess
impl Sync for GrantedAccess
impl Unpin for GrantedAccess
impl UnwindSafe for GrantedAccess
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