pub struct PdgIdEntry {
pub id: isize,
pub pdgid: PdgId,
pub parent_pdgid: Option<PdgId>,
pub description: String,
pub mode_number: Option<isize>,
pub data_type: DataType,
pub flags: String,
pub year_added: Option<isize>,
pub sort: isize,
}Expand description
Metadata row for a PDG identifier.
Fields§
§id: isizeInternal row ID from the bundled database.
pdgid: PdgIdPDG identifier.
parent_pdgid: Option<PdgId>Parent PDG identifier, when this row belongs to another entry.
description: StringHuman-readable PDG description.
mode_number: Option<isize>Decay or mode number for mode-specific rows.
data_type: DataTypeData type represented by this identifier.
flags: StringRaw PDG flags associated with this row.
year_added: Option<isize>Edition year in which the row was added, when known.
sort: isizeSort key used by the PDG tables.
Trait Implementations§
Source§impl Clone for PdgIdEntry
impl Clone for PdgIdEntry
Source§fn clone(&self) -> PdgIdEntry
fn clone(&self) -> PdgIdEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PdgIdEntry
impl Debug for PdgIdEntry
Auto Trait Implementations§
impl Freeze for PdgIdEntry
impl RefUnwindSafe for PdgIdEntry
impl Send for PdgIdEntry
impl Sync for PdgIdEntry
impl Unpin for PdgIdEntry
impl UnsafeUnpin for PdgIdEntry
impl UnwindSafe for PdgIdEntry
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