pub enum OverrideType {
MergePatch,
JsonPatch,
}Expand description
The type of override operation to perform.
Variants§
MergePatch
Apply a JSON Merge Patch (RFC 7396) to the step.
This is the default override type. The value should be a JSON object where null values indicate fields to remove and other values are merged into the target step.
JsonPatch
Apply a JSON Patch (RFC 6902) to the step. (Future extension)
The value should be an array of JSON Patch operations. This is reserved for future use.
Trait Implementations§
Source§impl Clone for OverrideType
impl Clone for OverrideType
Source§fn clone(&self) -> OverrideType
fn clone(&self) -> OverrideType
Returns a duplicate of the value. Read more
1.0.0 · 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 OverrideType
impl Debug for OverrideType
Source§impl<'de> Deserialize<'de> for OverrideType
impl<'de> Deserialize<'de> for OverrideType
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 JsonSchema for OverrideType
impl JsonSchema for OverrideType
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for OverrideType
impl PartialEq for OverrideType
Source§impl Serialize for OverrideType
impl Serialize for OverrideType
impl StructuralPartialEq for OverrideType
Auto Trait Implementations§
impl Freeze for OverrideType
impl RefUnwindSafe for OverrideType
impl Send for OverrideType
impl Sync for OverrideType
impl Unpin for OverrideType
impl UnsafeUnpin for OverrideType
impl UnwindSafe for OverrideType
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