pub struct SemanticDiffOptions {
pub rename_threshold: f64,
pub similarity_method: SimilarityMethod,
pub analyze_functions: bool,
pub analyze_dependencies: bool,
pub budget: SemanticBudget,
}Expand description
Options for semantic diff analysis.
Fields§
§rename_threshold: f64Similarity threshold for detecting renames (0.0 to 1.0).
similarity_method: SimilarityMethodMethod for computing similarity.
analyze_functions: boolWhether to analyze function-level changes.
analyze_dependencies: boolWhether to detect import/dependency changes.
budget: SemanticBudgetResource limits for semantic analysis.
Trait Implementations§
Source§impl Clone for SemanticDiffOptions
impl Clone for SemanticDiffOptions
Source§fn clone(&self) -> SemanticDiffOptions
fn clone(&self) -> SemanticDiffOptions
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 SemanticDiffOptions
impl Debug for SemanticDiffOptions
Source§impl Default for SemanticDiffOptions
impl Default for SemanticDiffOptions
Source§fn default() -> SemanticDiffOptions
fn default() -> SemanticDiffOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SemanticDiffOptions
impl RefUnwindSafe for SemanticDiffOptions
impl Send for SemanticDiffOptions
impl Sync for SemanticDiffOptions
impl Unpin for SemanticDiffOptions
impl UnsafeUnpin for SemanticDiffOptions
impl UnwindSafe for SemanticDiffOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request