pub struct DelegationCheck {
pub allowed: bool,
pub reason: Option<String>,
}Expand description
Result of a single delegation check between two agents.
Fields§
§allowed: boolWhether delegation is permitted.
reason: Option<String>Reason when denied.
Trait Implementations§
Source§impl Clone for DelegationCheck
impl Clone for DelegationCheck
Source§fn clone(&self) -> DelegationCheck
fn clone(&self) -> DelegationCheck
Returns a duplicate of the value. Read more
1.0.0 · 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 DelegationCheck
impl RefUnwindSafe for DelegationCheck
impl Send for DelegationCheck
impl Sync for DelegationCheck
impl Unpin for DelegationCheck
impl UnsafeUnpin for DelegationCheck
impl UnwindSafe for DelegationCheck
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