pub struct ModifyOutcome {
pub success: bool,
pub changes: Vec<ResourceChange>,
pub problem: Option<MutationProblem>,
}Expand description
The captured mutation-success envelope
{success, changes[], problem} — the 200 body of a full-record
PUT modify (10-LIVE-CAPTURES §6a/§9). problem is null on every
captured success; a success:false + problem answer is the
signature-mismatch refusal (HTTP 500 — see the module-doc
FINDING).
Fields§
§success: boolsuccess — the body-level verdict (false on semantic refusals).
changes: Vec<ResourceChange>Per-array-item change records.
problem: Option<MutationProblem>The semantic-refusal problem (None on successes).
Trait Implementations§
Source§impl Clone for ModifyOutcome
impl Clone for ModifyOutcome
Source§fn clone(&self) -> ModifyOutcome
fn clone(&self) -> ModifyOutcome
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 ModifyOutcome
impl Debug for ModifyOutcome
Source§impl<'de> Deserialize<'de> for ModifyOutcome
impl<'de> Deserialize<'de> for ModifyOutcome
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 ModifyOutcome
impl PartialEq for ModifyOutcome
Source§impl Serialize for ModifyOutcome
impl Serialize for ModifyOutcome
impl StructuralPartialEq for ModifyOutcome
Auto Trait Implementations§
impl Freeze for ModifyOutcome
impl RefUnwindSafe for ModifyOutcome
impl Send for ModifyOutcome
impl Sync for ModifyOutcome
impl Unpin for ModifyOutcome
impl UnsafeUnpin for ModifyOutcome
impl UnwindSafe for ModifyOutcome
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