pub struct ModuleMappings {
pub types: HashMap<String, String>,
pub fields: HashMap<String, String>,
pub variants: HashMap<String, String>,
pub elements: HashMap<String, String>,
}Expand description
Name mappings for a single module (sml, wml, pml, dml).
Fields§
§types: HashMap<String, String>Type name mappings: CT_AutoFilter → AutoFilter
fields: HashMap<String, String>Field name mappings: r → reference
variants: HashMap<String, String>Enum variant mappings: customXml → CustomXmlContent
elements: HashMap<String, String>XML element name mappings: Worksheet → worksheet
Maps Rust type names to their XML element names for serde serialization.
Trait Implementations§
Source§impl Clone for ModuleMappings
impl Clone for ModuleMappings
Source§fn clone(&self) -> ModuleMappings
fn clone(&self) -> ModuleMappings
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 ModuleMappings
impl Debug for ModuleMappings
Source§impl Default for ModuleMappings
impl Default for ModuleMappings
Source§fn default() -> ModuleMappings
fn default() -> ModuleMappings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModuleMappings
impl<'de> Deserialize<'de> for ModuleMappings
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 ModuleMappings
impl RefUnwindSafe for ModuleMappings
impl Send for ModuleMappings
impl Sync for ModuleMappings
impl Unpin for ModuleMappings
impl UnsafeUnpin for ModuleMappings
impl UnwindSafe for ModuleMappings
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