pub struct DriftResult {
pub budget_exceeded: bool,
pub breaking_changes: u32,
pub potentially_breaking_changes: u32,
pub non_breaking_changes: u32,
pub breaking_mismatches: Vec<Mismatch>,
pub potentially_breaking_mismatches: Vec<Mismatch>,
pub non_breaking_mismatches: Vec<Mismatch>,
pub metrics: DriftMetrics,
pub should_create_incident: bool,
pub fitness_test_results: Vec<FitnessTestResult>,
pub consumer_impact: Option<ConsumerImpact>,
}Expand description
Result of drift budget evaluation
Fields§
§budget_exceeded: boolWhether budget is exceeded
breaking_changes: u32Number of breaking changes (definitely breaking)
potentially_breaking_changes: u32Number of potentially breaking changes (requires review)
non_breaking_changes: u32Number of non-breaking changes
breaking_mismatches: Vec<Mismatch>Mismatches that are considered breaking (definitely breaking)
potentially_breaking_mismatches: Vec<Mismatch>Mismatches that are potentially breaking (requires review)
non_breaking_mismatches: Vec<Mismatch>Mismatches that are non-breaking
metrics: DriftMetricsCurrent drift metrics
should_create_incident: boolWhether an incident should be created
fitness_test_results: Vec<FitnessTestResult>Results from fitness function tests
consumer_impact: Option<ConsumerImpact>Consumer impact analysis (optional)
Trait Implementations§
Source§impl Clone for DriftResult
impl Clone for DriftResult
Source§fn clone(&self) -> DriftResult
fn clone(&self) -> DriftResult
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 DriftResult
impl Debug for DriftResult
Source§impl<'de> Deserialize<'de> for DriftResult
impl<'de> Deserialize<'de> for DriftResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DriftResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DriftResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DriftResult
impl Serialize for DriftResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DriftResult
impl RefUnwindSafe for DriftResult
impl Send for DriftResult
impl Sync for DriftResult
impl Unpin for DriftResult
impl UnsafeUnpin for DriftResult
impl UnwindSafe for DriftResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more