pub struct Identification {
pub short_name: Option<String>,
pub name: Option<String>,
}Expand description
Identification: optional short name in < >, optional name.
BNF: ( ‘<’ declaredShortName = NAME ‘>’ )? ( declaredName = NAME )?
Fields§
§short_name: Option<String>Short name inside < ... >, if present.
name: Option<String>Main declared name (may be quoted, e.g. ‘1a-Parts Tree’).
Trait Implementations§
Source§impl Clone for Identification
impl Clone for Identification
Source§fn clone(&self) -> Identification
fn clone(&self) -> Identification
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 Identification
impl Debug for Identification
impl Eq for Identification
Source§impl PartialEq for Identification
impl PartialEq for Identification
Source§fn eq(&self, other: &Identification) -> bool
fn eq(&self, other: &Identification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Identification
Auto Trait Implementations§
impl Freeze for Identification
impl RefUnwindSafe for Identification
impl Send for Identification
impl Sync for Identification
impl Unpin for Identification
impl UnsafeUnpin for Identification
impl UnwindSafe for Identification
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