pub struct Entity {
pub name: String,
pub label: Label,
pub fields: Vec<(String, FieldValue)>,
pub id: Option<String>,
pub line: usize,
}Expand description
A parsed entity with its name, label, and field map.
Fields§
§name: String§label: Label§fields: Vec<(String, FieldValue)>§id: Option<String>Stored NULID from - id: field (None if not yet generated).
line: usizeLine number (1-indexed) of the H3 heading.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entity
impl RefUnwindSafe for Entity
impl Send for Entity
impl Sync for Entity
impl Unpin for Entity
impl UnsafeUnpin for Entity
impl UnwindSafe for Entity
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