pub struct PatchDefinition {
pub id: String,
pub file: String,
pub query: Query,
pub operation: Operation,
pub verify: Option<Verify>,
pub constraint: Option<Constraints>,
pub version: Option<String>,
}Fields§
§id: String§file: String§query: Query§operation: Operation§verify: Option<Verify>§constraint: Option<Constraints>§version: Option<String>Per-patch version constraint (e.g., “>=0.105.0, <0.108.0”). If specified, patch is skipped when workspace version doesn’t match.
Trait Implementations§
Source§impl Clone for PatchDefinition
impl Clone for PatchDefinition
Source§fn clone(&self) -> PatchDefinition
fn clone(&self) -> PatchDefinition
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 PatchDefinition
impl Debug for PatchDefinition
Source§impl<'de> Deserialize<'de> for PatchDefinition
impl<'de> Deserialize<'de> for PatchDefinition
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
Auto Trait Implementations§
impl Freeze for PatchDefinition
impl RefUnwindSafe for PatchDefinition
impl Send for PatchDefinition
impl Sync for PatchDefinition
impl Unpin for PatchDefinition
impl UnsafeUnpin for PatchDefinition
impl UnwindSafe for PatchDefinition
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