pub enum RevisionGate {
Revise {
current_revision: u32,
revisions_today: u32,
},
Refuse(RefusalReason),
}Expand description
Outcome of SkillReviser::check — the cap decision, with no model call.
Variants§
Trait Implementations§
Source§impl Clone for RevisionGate
impl Clone for RevisionGate
Source§fn clone(&self) -> RevisionGate
fn clone(&self) -> RevisionGate
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 RevisionGate
impl Debug for RevisionGate
Source§impl PartialEq for RevisionGate
impl PartialEq for RevisionGate
impl StructuralPartialEq for RevisionGate
Auto Trait Implementations§
impl Freeze for RevisionGate
impl RefUnwindSafe for RevisionGate
impl Send for RevisionGate
impl Sync for RevisionGate
impl Unpin for RevisionGate
impl UnsafeUnpin for RevisionGate
impl UnwindSafe for RevisionGate
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