pub struct QueuedHumanPolicy { /* private fields */ }Implementations§
Source§impl QueuedHumanPolicy
impl QueuedHumanPolicy
pub fn new( id: impl Into<String>, version: impl Into<String>, ) -> QueuedHumanPolicy
pub fn submit( &mut self, ticket_id: DecisionTicketId, response: HumanDecisionResponse, )
Trait Implementations§
Source§impl Clone for QueuedHumanPolicy
impl Clone for QueuedHumanPolicy
Source§fn clone(&self) -> QueuedHumanPolicy
fn clone(&self) -> QueuedHumanPolicy
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 moreSource§impl Debug for QueuedHumanPolicy
impl Debug for QueuedHumanPolicy
Source§impl DecisionPolicy for QueuedHumanPolicy
impl DecisionPolicy for QueuedHumanPolicy
fn identity(&self) -> DecisionPolicyIdentity
fn decide( &self, ticket: &DecisionTicket, ) -> Result<PolicyDecision, DecisionError>
Source§impl HumanPolicy for QueuedHumanPolicy
impl HumanPolicy for QueuedHumanPolicy
fn submitted_response( &self, ticket: &DecisionTicket, ) -> Option<HumanDecisionResponse>
Auto Trait Implementations§
impl Freeze for QueuedHumanPolicy
impl RefUnwindSafe for QueuedHumanPolicy
impl Send for QueuedHumanPolicy
impl Sync for QueuedHumanPolicy
impl Unpin for QueuedHumanPolicy
impl UnsafeUnpin for QueuedHumanPolicy
impl UnwindSafe for QueuedHumanPolicy
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