pub struct At {
pub channel: String,
pub path: Option<String>,
pub kind: String,
pub line: Option<usize>,
pub column: Option<usize>,
pub offset: Option<Offset>,
pub expected_type: Option<String>,
pub actual_type: Option<String>,
pub expected_len: Option<usize>,
pub actual_len: Option<usize>,
pub context: Option<Context>,
}Fields§
§channel: Stringreturn, throw, return vs throw, call N, or a replay field (status, body, …).
path: Option<String>JSON path of the first difference, $ for the whole value.
kind: Stringvalue, type, missing key, extra key, length, text, lines added,
lines missing, trailing newline, binary, no response, or <expected>→<actual> for
a status.
line: Option<usize>§column: Option<usize>§offset: Option<Offset>§expected_type: Option<String>§actual_type: Option<String>§expected_len: Option<usize>§actual_len: Option<usize>§context: Option<Context>A few characters around the difference on each side, the differing one in ⟨⟩.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for At
impl<'de> Deserialize<'de> for At
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 At
Auto Trait Implementations§
impl Forget for At
impl Freeze for At
impl Move for At
impl RefUnwindSafe for At
impl Send for At
impl Sync for At
impl Unpin for At
impl UnsafeUnpin for At
impl UnwindSafe for At
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