#[non_exhaustive]pub struct Decided {
pub grants: Vec<Grant>,
pub revoked_role: Option<Subject>,
pub campaign: Campaign,
pub item: RecertItem,
}Expand description
A decision taken and the grants to persist.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.grants: Vec<Grant>The grants after the decision: unchanged unless a grant was revoked. A revoked role comes back
in revoked.
revoked_role: Option<Subject>The role change to write, when a role assignment was revoked.
campaign: Campaign§item: RecertItemTrait Implementations§
impl StructuralPartialEq for Decided
Auto Trait Implementations§
impl Forget for Decided
impl Freeze for Decidedwhere
*const u8 is !null: Freeze,
PhantomData<Grant>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<RoleAssignment>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<Anchor>: Freeze,
PhantomData<ReviewerRoute>: Freeze,
PhantomData<RecertItem>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<Condition>: Freeze,
*const Condition is !null: Freeze,
PhantomData<Operand>: Freeze,
PhantomData<Delegation>: Freeze,
PhantomData<AccessChange>: Freeze,
PhantomData<PotentialClash>: Freeze,
impl Move for Decided
impl RefUnwindSafe for Decided
impl Send for Decided
impl Sync for Decided
impl Unpin for Decided
impl UnsafeUnpin for Decidedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Grant>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<RoleAssignment>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<Anchor>: UnsafeUnpin,
PhantomData<ReviewerRoute>: UnsafeUnpin,
PhantomData<RecertItem>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<Condition>: UnsafeUnpin,
*const Condition is !null: UnsafeUnpin,
PhantomData<Operand>: UnsafeUnpin,
PhantomData<Delegation>: UnsafeUnpin,
PhantomData<AccessChange>: UnsafeUnpin,
PhantomData<PotentialClash>: UnsafeUnpin,
impl UnwindSafe for Decided
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