pub struct SpecSetPlanningResult {
pub name: String,
pub lemma_spec_set: LemmaSpecSet,
pub specs: Vec<SpecPlanningResult>,
}Expand description
Result of planning a LemmaSpecSet (all specs sharing a name).
Fields§
§name: StringLogical spec name.
lemma_spec_set: LemmaSpecSet§specs: Vec<SpecPlanningResult>Implementations§
Source§impl SpecSetPlanningResult
impl SpecSetPlanningResult
pub fn errors(&self) -> impl Iterator<Item = &Error>
pub fn execution_plan_set(&self) -> ExecutionPlanSet
Sourcepub fn schema_over(
&self,
from: &Option<DateTimeValue>,
to: &Option<DateTimeValue>,
) -> Option<SpecSchema>
pub fn schema_over( &self, from: &Option<DateTimeValue>, to: &Option<DateTimeValue>, ) -> Option<SpecSchema>
The interface this set exposes over [from, to), or None if any two
overlapping LemmaSpec slices disagree on the type of a name they both
expose. The returned schema is one of the in-range slices’ full-surface
schemas; all of them are type-compatible when Some is returned.
Trait Implementations§
Source§impl Clone for SpecSetPlanningResult
impl Clone for SpecSetPlanningResult
Source§fn clone(&self) -> SpecSetPlanningResult
fn clone(&self) -> SpecSetPlanningResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpecSetPlanningResult
impl RefUnwindSafe for SpecSetPlanningResult
impl Send for SpecSetPlanningResult
impl Sync for SpecSetPlanningResult
impl Unpin for SpecSetPlanningResult
impl UnsafeUnpin for SpecSetPlanningResult
impl UnwindSafe for SpecSetPlanningResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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