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: String
message: String
file_text: String
expected_text: String
is_only: bool
is_trace: bool
skip: bool
skip_format_twice: bool
config: IndexMap<String, String>
Trait Implementations
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 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