pub struct Drift {
pub requirements: Vec<RequirementDrift>,
pub files: Vec<String>,
}Expand description
What changed since a tick: the tick’s commit holds the intent
it was judged against; the checkout’s HEAD holds the intent now.
Fields§
§requirements: Vec<RequirementDrift>The requirements the task cites whose line changed, appeared or went away: the evidence no longer speaks for them. Empty: what changed is elsewhere in the intent.
files: Vec<String>The intent files that differ (project-relative), task lists aside. Empty when the intent is not in git (in place, ignored): it changed, which file is not known.
Implementations§
Trait Implementations§
impl Eq for Drift
Source§impl JsonSchema for Drift
impl JsonSchema for Drift
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 moreimpl StructuralPartialEq for Drift
Auto Trait Implementations§
impl Freeze for Drift
impl RefUnwindSafe for Drift
impl Send for Drift
impl Sync for Drift
impl Unpin for Drift
impl UnsafeUnpin for Drift
impl UnwindSafe for Drift
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