pub struct Parsed {
pub tree: Value,
pub parser: String,
pub fingerprint: String,
}Expand description
A statement’s parse tree, as pg_query’s protobuf serialised by serde.
Fields§
§tree: Value§parser: StringThe pg_query release that parsed it.
fingerprint: StringThe SHA-256 of the release’s probe corpus as this parser reads it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Parsed
impl<'de> Deserialize<'de> for Parsed
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 StructuralPartialEq for Parsed
Auto Trait Implementations§
impl Forget for Parsed
impl Freeze for Parsed
impl RefUnwindSafe for Parsed
impl Send for Parsed
impl Sync for Parsed
impl Unpin for Parsed
impl UnsafeUnpin for Parsed
impl UnwindSafe for Parsed
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