pub struct Prose { /* private fields */ }Expand description
Top-level deserialized form of prose.toml.
The TOML file looks like [rules.<rule_name>] ..., which deserializes
as a single rules map keyed on rule name. BTreeMap rather than
HashMap so iteration order during validation tests is stable.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Prose
impl<'de> Deserialize<'de> for Prose
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Prose
impl RefUnwindSafe for Prose
impl Send for Prose
impl Sync for Prose
impl Unpin for Prose
impl UnsafeUnpin for Prose
impl UnwindSafe for Prose
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