pub struct ApprovalRule {
pub claim: String,
pub value: String,
pub role: Role,
}Expand description
Joining people whose verified token carries value in claim get role.
Fields§
§claim: String§value: String§role: RoleTrait Implementations§
Source§impl Clone for ApprovalRule
impl Clone for ApprovalRule
Source§impl Debug for ApprovalRule
impl Debug for ApprovalRule
impl Eq for ApprovalRule
Source§impl PartialEq for ApprovalRule
impl PartialEq for ApprovalRule
impl StructuralPartialEq for ApprovalRule
Auto Trait Implementations§
impl Forget for ApprovalRule
impl Freeze for ApprovalRule
impl Move for ApprovalRule
impl RefUnwindSafe for ApprovalRule
impl Send for ApprovalRulewhere
RawVecInner: Send,
impl Sync for ApprovalRulewhere
RawVecInner: Sync,
impl Unpin for ApprovalRule
impl UnsafeUnpin for ApprovalRule
impl UnwindSafe for ApprovalRulewhere
RawVecInner: UnwindSafe,
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