pub struct ContractDiff {
pub package_version: String,
pub action: String,
pub field: String,
pub expected: Option<Value>,
pub advertised: Option<Value>,
}Expand description
One field-level incompatibility between a deployed contract and a worker.
Fields§
§package_version: String.v4 package identity that requires the field.
action: StringActivity whose contract differs.
field: StringStable dotted path within the activity contract.
expected: Option<Value>Value required by the deployed workflow, absent when the field is forbidden.
advertised: Option<Value>Value advertised by the worker, absent when it omitted the field or action.
Trait Implementations§
Source§impl Clone for ContractDiff
impl Clone for ContractDiff
Source§fn clone(&self) -> ContractDiff
fn clone(&self) -> ContractDiff
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 ContractDiff
impl Debug for ContractDiff
Source§impl<'de> Deserialize<'de> for ContractDiff
impl<'de> Deserialize<'de> for ContractDiff
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 Display for ContractDiff
impl Display for ContractDiff
impl Eq for ContractDiff
Source§impl PartialEq for ContractDiff
impl PartialEq for ContractDiff
Source§impl Serialize for ContractDiff
impl Serialize for ContractDiff
impl StructuralPartialEq for ContractDiff
Auto Trait Implementations§
impl Freeze for ContractDiff
impl RefUnwindSafe for ContractDiff
impl Send for ContractDiff
impl Sync for ContractDiff
impl Unpin for ContractDiff
impl UnsafeUnpin for ContractDiff
impl UnwindSafe for ContractDiff
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.