pub struct FmtOptions {
pub repair_hash: bool,
}Expand description
Formatting behavior toggles for fmt_snapshot_with_options.
Fields§
§repair_hash: boolRecompute and overwrite a mismatched header snapshot-hash.
Trait Implementations§
Source§impl Clone for FmtOptions
impl Clone for FmtOptions
Source§fn clone(&self) -> FmtOptions
fn clone(&self) -> FmtOptions
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 FmtOptions
impl Debug for FmtOptions
Source§impl Default for FmtOptions
impl Default for FmtOptions
Source§fn default() -> FmtOptions
fn default() -> FmtOptions
Returns the “default value” for a type. Read more
impl Copy for FmtOptions
Auto Trait Implementations§
impl Freeze for FmtOptions
impl RefUnwindSafe for FmtOptions
impl Send for FmtOptions
impl Sync for FmtOptions
impl Unpin for FmtOptions
impl UnsafeUnpin for FmtOptions
impl UnwindSafe for FmtOptions
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