pub enum PolicyRefusalDetection {
Structured,
Textual,
}Expand description
How an adapter recognised a provider policy refusal.
Variants§
Structured
A typed or structured discriminator identified the refusal.
Textual
The adapter matched a documented, narrowly bounded provider message.
Trait Implementations§
Source§impl Clone for PolicyRefusalDetection
impl Clone for PolicyRefusalDetection
Source§fn clone(&self) -> PolicyRefusalDetection
fn clone(&self) -> PolicyRefusalDetection
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 moreimpl Copy for PolicyRefusalDetection
Source§impl Debug for PolicyRefusalDetection
impl Debug for PolicyRefusalDetection
impl Eq for PolicyRefusalDetection
Source§impl PartialEq for PolicyRefusalDetection
impl PartialEq for PolicyRefusalDetection
impl StructuralPartialEq for PolicyRefusalDetection
Auto Trait Implementations§
impl Freeze for PolicyRefusalDetection
impl RefUnwindSafe for PolicyRefusalDetection
impl Send for PolicyRefusalDetection
impl Sync for PolicyRefusalDetection
impl Unpin for PolicyRefusalDetection
impl UnsafeUnpin for PolicyRefusalDetection
impl UnwindSafe for PolicyRefusalDetection
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