pub struct GroupEntrySegmentError {
pub pid: String,
pub group_path: String,
pub source_path: String,
pub entry_segment: String,
pub present_segments: Vec<String>,
pub entities: Vec<String>,
pub entry_fields: Vec<String>,
}Expand description
Details of MapperError::MissingGroupEntrySegment.
Fields§
§pid: String§group_path: StringMIG group path, e.g. "SG4.SG8.SG10".
source_path: StringThe group in TOML source_path notation, e.g. "sg4.sg8_z03.sg10".
entry_segment: StringTag of the missing entry segment, e.g. "CCI".
present_segments: Vec<String>Tags of the segments the group would have carried.
entities: Vec<String>BO4E entities mapped from this group (e.g. ["Zaehler"]).
entry_fields: Vec<String>Entity.field values the entry segment is built from
(e.g. ["Zaehler.zaehlertypMerkmal"]); supplying one fixes the input.
Trait Implementations§
Source§impl Clone for GroupEntrySegmentError
impl Clone for GroupEntrySegmentError
Source§impl Debug for GroupEntrySegmentError
impl Debug for GroupEntrySegmentError
Source§impl Display for GroupEntrySegmentError
impl Display for GroupEntrySegmentError
impl Eq for GroupEntrySegmentError
Source§impl Error for GroupEntrySegmentError
impl Error for GroupEntrySegmentError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for GroupEntrySegmentError
impl PartialEq for GroupEntrySegmentError
impl StructuralPartialEq for GroupEntrySegmentError
Auto Trait Implementations§
impl Freeze for GroupEntrySegmentError
impl RefUnwindSafe for GroupEntrySegmentError
impl Send for GroupEntrySegmentError
impl Sync for GroupEntrySegmentError
impl Unpin for GroupEntrySegmentError
impl UnsafeUnpin for GroupEntrySegmentError
impl UnwindSafe for GroupEntrySegmentError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.