pub struct ParserInfo {
pub name: String,
pub version: String,
}Expand description
Producing parser identity.
Fields§
§name: StringAlways "ethos".
version: StringCrate/workspace version.
Trait Implementations§
Source§impl Clone for ParserInfo
impl Clone for ParserInfo
Source§fn clone(&self) -> ParserInfo
fn clone(&self) -> ParserInfo
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 ParserInfo
impl Debug for ParserInfo
Source§impl<'de> Deserialize<'de> for ParserInfo
impl<'de> Deserialize<'de> for ParserInfo
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
impl Eq for ParserInfo
Source§impl PartialEq for ParserInfo
impl PartialEq for ParserInfo
Source§fn eq(&self, other: &ParserInfo) -> bool
fn eq(&self, other: &ParserInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ParserInfo
impl Serialize for ParserInfo
impl StructuralPartialEq for ParserInfo
Auto Trait Implementations§
impl Freeze for ParserInfo
impl RefUnwindSafe for ParserInfo
impl Send for ParserInfo
impl Sync for ParserInfo
impl Unpin for ParserInfo
impl UnsafeUnpin for ParserInfo
impl UnwindSafe for ParserInfo
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