pub struct ResourceMutationWire {
pub success: bool,
pub changes: Vec<ResourceChangeWire>,
pub problem: Option<Value>,
}Expand description
The shared resources-API mutation envelope (create + singleton PUT;
live-captured on the create — {success, changes[], problem}).
Fields§
§success: boolThe gateway’s verdict — false or a non-2xx both refuse.
changes: Vec<ResourceChangeWire>What changed (name/type/collection/newSignature).
problem: Option<Value>Populated (non-null) when the gateway reports a partial problem — surfaced verbatim.
Trait Implementations§
Source§impl Clone for ResourceMutationWire
impl Clone for ResourceMutationWire
Source§fn clone(&self) -> ResourceMutationWire
fn clone(&self) -> ResourceMutationWire
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 ResourceMutationWire
impl Debug for ResourceMutationWire
Source§impl<'de> Deserialize<'de> for ResourceMutationWire
impl<'de> Deserialize<'de> for ResourceMutationWire
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 ResourceMutationWire
impl PartialEq for ResourceMutationWire
Source§impl Serialize for ResourceMutationWire
impl Serialize for ResourceMutationWire
impl StructuralPartialEq for ResourceMutationWire
Auto Trait Implementations§
impl Freeze for ResourceMutationWire
impl RefUnwindSafe for ResourceMutationWire
impl Send for ResourceMutationWire
impl Sync for ResourceMutationWire
impl Unpin for ResourceMutationWire
impl UnsafeUnpin for ResourceMutationWire
impl UnwindSafe for ResourceMutationWire
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