pub struct ResourceChange {
pub name: String,
pub resource_type: String,
pub collection: String,
pub new_signature: Option<String>,
}Expand description
One element of a mutation’s changes[] array — the invariant
{name, type, collection, newSignature} shape captured across
create/modify/delete/module-settings (10-LIVE-CAPTURES §9 +
Decision 8). newSignature is the POST-write signature
(server-derived, opaque, rig-varying — never cacheable across
writes; for DELETE it is the deleted resource’s final signature).
Fields§
§name: StringThe mutated resource’s name.
resource_type: Stringtype — the resource type token (e.g.
com.inductiveautomation.eam/eam-tasks).
collection: StringThe config-module collection (core — the delete query param
must carry this VALUE, never the type token).
new_signature: Option<String>newSignature — the post-write signature
(authoritative-for-next-mutation; None only if the gateway
ever omits the key — lenient).
Trait Implementations§
Source§impl Clone for ResourceChange
impl Clone for ResourceChange
Source§fn clone(&self) -> ResourceChange
fn clone(&self) -> ResourceChange
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 ResourceChange
impl Debug for ResourceChange
Source§impl<'de> Deserialize<'de> for ResourceChange
impl<'de> Deserialize<'de> for ResourceChange
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 ResourceChange
impl PartialEq for ResourceChange
Source§impl Serialize for ResourceChange
impl Serialize for ResourceChange
impl StructuralPartialEq for ResourceChange
Auto Trait Implementations§
impl Freeze for ResourceChange
impl RefUnwindSafe for ResourceChange
impl Send for ResourceChange
impl Sync for ResourceChange
impl Unpin for ResourceChange
impl UnsafeUnpin for ResourceChange
impl UnwindSafe for ResourceChange
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