#[repr(u8)]pub enum Role {
Manager = 0,
ReclaimAuthority = 1,
}Expand description
A transferable authority stored in the state PDA.
The discriminant is the wire value carried by the authority-transfer
instruction (see transfer_authority).
Variants§
Manager = 0
The account authorized to add and remove solvers and to transfer roles. It is the highest authority: it may transfer any role.
ReclaimAuthority = 1
The account authorized to close buffer accounts and reclaim their rent, choosing where that rent goes.
Implementations§
Trait Implementations§
impl Copy for Role
impl Eq for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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