#[non_exhaustive]pub struct AttributedRefusal {
pub refusal: Refusal,
pub layer: Option<Layer>,
}Expand description
A tuple review refusal with the input layer, if a single layer was refused.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.refusal: Refusal§layer: Option<Layer>Absent when validation of the merged tuple fails.
Trait Implementations§
Source§impl Clone for AttributedRefusal
impl Clone for AttributedRefusal
Source§impl Debug for AttributedRefusal
impl Debug for AttributedRefusal
impl Eq for AttributedRefusal
Source§impl PartialEq for AttributedRefusal
impl PartialEq for AttributedRefusal
impl StructuralPartialEq for AttributedRefusal
Auto Trait Implementations§
impl Forget for AttributedRefusal
impl Freeze for AttributedRefusalwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const RefusalRule is !null: Freeze,
PhantomData<RefusalRule>: Freeze,
impl Move for AttributedRefusal
impl RefUnwindSafe for AttributedRefusal
impl Send for AttributedRefusal
impl Sync for AttributedRefusal
impl Unpin for AttributedRefusal
impl UnsafeUnpin for AttributedRefusalwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const RefusalRule is !null: UnsafeUnpin,
PhantomData<RefusalRule>: UnsafeUnpin,
impl UnwindSafe for AttributedRefusal
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