pub struct ApiNormalization {
pub graph: Option<SemanticOperationGraph>,
pub node_source_ranges: Vec<SemanticSourceRange>,
pub excluded_observations: usize,
}Expand description
The result of normalizing registered API observations.
Fields§
§graph: Option<SemanticOperationGraph>A graph when at least one observation matches a registered operation.
node_source_ranges: Vec<SemanticSourceRange>Source ranges aligned with Self::graph nodes.
These ranges are intentionally omitted from the graph and therefore do not affect its schema or stable fingerprints.
excluded_observations: usizeObservations deliberately left outside the restricted vocabulary.
Trait Implementations§
Source§impl Clone for ApiNormalization
impl Clone for ApiNormalization
Source§fn clone(&self) -> ApiNormalization
fn clone(&self) -> ApiNormalization
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 ApiNormalization
impl Debug for ApiNormalization
impl Eq for ApiNormalization
Source§impl PartialEq for ApiNormalization
impl PartialEq for ApiNormalization
impl StructuralPartialEq for ApiNormalization
Auto Trait Implementations§
impl Freeze for ApiNormalization
impl RefUnwindSafe for ApiNormalization
impl Send for ApiNormalization
impl Sync for ApiNormalization
impl Unpin for ApiNormalization
impl UnsafeUnpin for ApiNormalization
impl UnwindSafe for ApiNormalization
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<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.