pub struct ParserIdentity {
pub name: String,
pub version: String,
pub adapter: Option<String>,
pub adapter_version: Option<String>,
}Expand description
Identity of the parser that produced the grounding data.
Fields§
§name: StringParser name, e.g. "ethos" or "opendataloader-pdf".
version: StringParser version string as reported by the parser.
adapter: Option<String>Adapter identifier when the data flows through a foreign-parser adapter.
adapter_version: Option<String>Adapter version, when applicable.
Trait Implementations§
Source§impl Clone for ParserIdentity
impl Clone for ParserIdentity
Source§fn clone(&self) -> ParserIdentity
fn clone(&self) -> ParserIdentity
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 ParserIdentity
impl Debug for ParserIdentity
Source§impl<'de> Deserialize<'de> for ParserIdentity
impl<'de> Deserialize<'de> for ParserIdentity
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 ParserIdentity
Source§impl PartialEq for ParserIdentity
impl PartialEq for ParserIdentity
Source§fn eq(&self, other: &ParserIdentity) -> bool
fn eq(&self, other: &ParserIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ParserIdentity
impl Serialize for ParserIdentity
impl StructuralPartialEq for ParserIdentity
Auto Trait Implementations§
impl Freeze for ParserIdentity
impl RefUnwindSafe for ParserIdentity
impl Send for ParserIdentity
impl Sync for ParserIdentity
impl Unpin for ParserIdentity
impl UnsafeUnpin for ParserIdentity
impl UnwindSafe for ParserIdentity
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