pub struct DecisionPack {
pub groups: Vec<DecisionGroup>,
pub total: usize,
pub branch: String,
}Expand description
A pack of active decisions grouped by domain, ready for session injection.
Fields§
§groups: Vec<DecisionGroup>Decisions grouped by domain (e.g., “db”, “error”, “auth”)
total: usizeTotal number of decisions included
branch: StringBranch these decisions are scoped to
Trait Implementations§
Source§impl Clone for DecisionPack
impl Clone for DecisionPack
Source§fn clone(&self) -> DecisionPack
fn clone(&self) -> DecisionPack
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DecisionPack
impl RefUnwindSafe for DecisionPack
impl Send for DecisionPack
impl Sync for DecisionPack
impl Unpin for DecisionPack
impl UnsafeUnpin for DecisionPack
impl UnwindSafe for DecisionPack
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