pub struct MapMessageToSection(pub IndexMap<String, HashSet<String>>);Tuple Fields§
§0: IndexMap<String, HashSet<String>>Implementations§
Source§impl MapMessageToSection
impl MapMessageToSection
pub fn to_fmt_options(self) -> Options
pub fn into_changelog_ser_options(self) -> Options
pub fn map_section(&self, section: &str) -> Option<String>
Sourcepub fn try_find_section(&self, (message, desc): (&str, &str)) -> Option<String>
pub fn try_find_section(&self, (message, desc): (&str, &str)) -> Option<String>
Best effort recognition
pub fn try_new<P: AsRef<Path>>(path: Option<P>) -> Result<MapMessageToSection>
Trait Implementations§
Source§impl Clone for MapMessageToSection
impl Clone for MapMessageToSection
Source§fn clone(&self) -> MapMessageToSection
fn clone(&self) -> MapMessageToSection
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 MapMessageToSection
impl Debug for MapMessageToSection
Source§impl Default for MapMessageToSection
impl Default for MapMessageToSection
Source§impl<'de> Deserialize<'de> for MapMessageToSection
impl<'de> Deserialize<'de> for MapMessageToSection
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 MapMessageToSection
impl RefUnwindSafe for MapMessageToSection
impl Send for MapMessageToSection
impl Sync for MapMessageToSection
impl Unpin for MapMessageToSection
impl UnwindSafe for MapMessageToSection
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