Struct dprint_development::Spec
source · [−]pub struct Spec {
pub file_name: String,
pub message: String,
pub file_text: String,
pub expected_text: String,
pub is_only: bool,
pub is_trace: bool,
pub skip: bool,
pub skip_format_twice: bool,
pub config: IndexMap<String, String>,
}Fields
file_name: Stringmessage: Stringfile_text: Stringexpected_text: Stringis_only: boolis_trace: boolskip: boolskip_format_twice: boolconfig: IndexMap<String, String>Trait Implementations
impl StructuralPartialEq for Spec
Auto Trait Implementations
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnwindSafe for Spec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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