Enum biscuit_auth::builder::Scope
source · pub enum Scope {
Authority,
Previous,
PublicKey(PublicKey),
Parameter(String),
}Expand description
Builder for a block or rule scope
Variants§
Authority
Trusts the first block, current block and the authorizer
Previous
Trusts the current block and all previous ones
PublicKey(PublicKey)
Trusts the current block and any block signed by the public key
Parameter(String)
Used for parameter substitution
Trait Implementations§
source§impl PartialEq<Scope> for Scope
impl PartialEq<Scope> for Scope
impl Eq for Scope
impl StructuralEq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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