pub struct LiteralInspection {
pub report: LiteralReport,
pub violation: Option<LexicalViolation>,
}Expand description
Complete payload inspection, including a possible semantic lexical violation. Transport, UTF-8, metadata, cancellation and budget failures are errors instead.
Fields§
§report: LiteralReportExact datatype recognition and byte count after successful EOF.
violation: Option<LexicalViolation>First recognized lexical violation; unknown datatypes remain opaque.
Trait Implementations§
Source§impl Clone for LiteralInspection
impl Clone for LiteralInspection
Source§impl Debug for LiteralInspection
impl Debug for LiteralInspection
Source§impl<'de> Deserialize<'de> for LiteralInspection
impl<'de> Deserialize<'de> for LiteralInspection
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 LiteralInspection
Source§impl PartialEq for LiteralInspection
impl PartialEq for LiteralInspection
Source§impl Serialize for LiteralInspection
impl Serialize for LiteralInspection
impl StructuralPartialEq for LiteralInspection
Auto Trait Implementations§
impl Forget for LiteralInspection
impl Freeze for LiteralInspection
impl Move for LiteralInspection
impl RefUnwindSafe for LiteralInspection
impl Send for LiteralInspection
impl Sync for LiteralInspection
impl Unpin for LiteralInspection
impl UnsafeUnpin for LiteralInspection
impl UnwindSafe for LiteralInspection
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