pub struct FixtureExpectedSeries {
pub index: Vec<IndexLabel>,
pub values: Vec<Scalar>,
pub name: Option<String>,
}Fields§
§index: Vec<IndexLabel>§values: Vec<Scalar>§name: Option<String>The result series’ NAME, when the fixture pins one.
br-frankenpandas-xi5li. This field did not exist, so the 28 fixtures that
carry a name key had it dropped at deserialization and then, of course,
never compared — dead twice over. The input struct immediately above has
carried pub name: String all along, so a fixture could state the name it
fed in and not the name it expected back.
Option + serde(default) because ~569 fixtures legitimately omit it and
must keep meaning “not asserted” rather than “asserted absent”.
Trait Implementations§
Source§impl Clone for FixtureExpectedSeries
impl Clone for FixtureExpectedSeries
Source§impl Debug for FixtureExpectedSeries
impl Debug for FixtureExpectedSeries
Source§impl<'de> Deserialize<'de> for FixtureExpectedSeries
impl<'de> Deserialize<'de> for FixtureExpectedSeries
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
Source§impl PartialEq for FixtureExpectedSeries
impl PartialEq for FixtureExpectedSeries
Source§impl Serialize for FixtureExpectedSeries
impl Serialize for FixtureExpectedSeries
impl StructuralPartialEq for FixtureExpectedSeries
Auto Trait Implementations§
impl !RefUnwindSafe for FixtureExpectedSeries
impl !UnwindSafe for FixtureExpectedSeries
impl Freeze for FixtureExpectedSeries
impl Send for FixtureExpectedSeries
impl Sync for FixtureExpectedSeries
impl Unpin for FixtureExpectedSeries
impl UnsafeUnpin for FixtureExpectedSeries
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more