Struct serde_intermediate::versioning::DiffOptions
source · [−]pub struct DiffOptions {
pub optimization_hint: DiffOptimizationHint,
}
Expand description
Change calculation options.
Fields
optimization_hint: DiffOptimizationHint
Optimization hint.
Implementations
sourceimpl DiffOptions
impl DiffOptions
pub fn optimization_hint(self, hint: DiffOptimizationHint) -> Self
Trait Implementations
sourceimpl Clone for DiffOptions
impl Clone for DiffOptions
sourcefn clone(&self) -> DiffOptions
fn clone(&self) -> DiffOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DiffOptions
impl Debug for DiffOptions
sourceimpl Default for DiffOptions
impl Default for DiffOptions
sourcefn default() -> DiffOptions
fn default() -> DiffOptions
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DiffOptions> for DiffOptions
impl PartialEq<DiffOptions> for DiffOptions
sourcefn eq(&self, other: &DiffOptions) -> bool
fn eq(&self, other: &DiffOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DiffOptions) -> bool
fn ne(&self, other: &DiffOptions) -> bool
This method tests for !=
.
impl Copy for DiffOptions
impl StructuralPartialEq for DiffOptions
Auto Trait Implementations
impl RefUnwindSafe for DiffOptions
impl Send for DiffOptions
impl Sync for DiffOptions
impl Unpin for DiffOptions
impl UnwindSafe for DiffOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more