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§
source§impl DiffOptions
impl DiffOptions
pub fn optimization_hint(self, hint: DiffOptimizationHint) -> Self
Trait Implementations§
source§impl Clone for DiffOptions
impl Clone for DiffOptions
source§fn clone(&self) -> DiffOptions
fn clone(&self) -> DiffOptions
Returns a copy 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 DiffOptions
impl Debug for DiffOptions
source§impl Default for DiffOptions
impl Default for DiffOptions
source§fn default() -> DiffOptions
fn default() -> DiffOptions
Returns the “default value” for a type. Read more
source§impl PartialEq<DiffOptions> for DiffOptions
impl PartialEq<DiffOptions> for DiffOptions
source§fn 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 ==
.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§
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