pub struct DeleteOutcome {
pub success: bool,
pub changes: Vec<ResourceChange>,
pub problem: Option<MutationProblem>,
pub references: Option<Vec<Value>>,
}Expand description
The DELETE mutation envelope — ModifyOutcome plus the 4th key
references ([] on every captured success, null on the 500
problem shape; 10-LIVE-CAPTURES §3b/§9). The element shape of a
NON-empty references (the confirm-demand affected-resources
list) is UNOBSERVED (§3d) — raw passthrough, never guessed.
Fields§
§success: boolsuccess — the body-level verdict.
changes: Vec<ResourceChange>Per-array-item change records.
problem: Option<MutationProblem>The semantic-refusal problem (None on successes).
references: Option<Vec<Value>>Affected/dependent resources — [] captured on success,
null on the failure shape; element shape UNOBSERVED.
Trait Implementations§
Source§impl Clone for DeleteOutcome
impl Clone for DeleteOutcome
Source§fn clone(&self) -> DeleteOutcome
fn clone(&self) -> DeleteOutcome
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 DeleteOutcome
impl Debug for DeleteOutcome
Source§impl<'de> Deserialize<'de> for DeleteOutcome
impl<'de> Deserialize<'de> for DeleteOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeleteOutcome
impl PartialEq for DeleteOutcome
Source§impl Serialize for DeleteOutcome
impl Serialize for DeleteOutcome
impl StructuralPartialEq for DeleteOutcome
Auto Trait Implementations§
impl Freeze for DeleteOutcome
impl RefUnwindSafe for DeleteOutcome
impl Send for DeleteOutcome
impl Sync for DeleteOutcome
impl Unpin for DeleteOutcome
impl UnsafeUnpin for DeleteOutcome
impl UnwindSafe for DeleteOutcome
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