pub struct MappingMeta {
pub entity: String,
pub bo4e_type: String,
pub companion_type: Option<String>,
pub source_group: String,
pub source_path: Option<String>,
pub discriminator: Option<String>,
pub repeat_on_tag: Option<String>,
}Expand description
Metadata about the entity being mapped.
Fields§
§entity: String§bo4e_type: String§companion_type: Option<String>§source_group: String§source_path: Option<String>PID struct field path (e.g., “sg2”, “sg4.sg8_z79”). When present, the mapping engine can use PID-direct navigation instead of AssembledTree group resolution.
discriminator: Option<String>§repeat_on_tag: Option<String>When set, the engine iterates over all segments matching this tag within the group instance and produces one array element per segment. Used for repeating segments like FTX that aren’t in their own subgroup.
Trait Implementations§
Source§impl Clone for MappingMeta
impl Clone for MappingMeta
Source§fn clone(&self) -> MappingMeta
fn clone(&self) -> MappingMeta
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 MappingMeta
impl Debug for MappingMeta
Source§impl<'de> Deserialize<'de> for MappingMeta
impl<'de> Deserialize<'de> for MappingMeta
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 MappingMeta
impl RefUnwindSafe for MappingMeta
impl Send for MappingMeta
impl Sync for MappingMeta
impl Unpin for MappingMeta
impl UnsafeUnpin for MappingMeta
impl UnwindSafe for MappingMeta
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