pub struct Refusal {
pub column: Option<String>,
pub reason: String,
}Expand description
A refusal: a change the planner will not perform, with a human-readable reason. A plan with any refusal must fail loud — never silently degrade.
Fields§
§column: Option<String>The column the refusal concerns (or the table, when None).
reason: StringWhy the change was refused.
Trait Implementations§
impl Eq for Refusal
impl StructuralPartialEq for Refusal
Auto Trait Implementations§
impl Freeze for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusal
impl Sync for Refusal
impl Unpin for Refusal
impl UnwindSafe for Refusal
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