pub enum Ruling {
Allow,
Deny(String),
Escalate(String),
}Expand description
What the model said, once its words have been read.
Variants§
Allow
Deny(String)
Escalate(String)
Hand it to the person, with the model’s reason if it gave one worth showing.
Implementations§
Trait Implementations§
impl Eq for Ruling
impl StructuralPartialEq for Ruling
Auto Trait Implementations§
impl Forget for Ruling
impl Freeze for Ruling
impl Move for Ruling
impl RefUnwindSafe for Ruling
impl Send for Rulingwhere
RawVecInner: Send,
impl Sync for Rulingwhere
RawVecInner: Sync,
impl Unpin for Ruling
impl UnsafeUnpin for Ruling
impl UnwindSafe for Rulingwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.