pub struct Itinerary {
pub agents: Option<Vec<String>>,
pub detail: Option<String>,
pub finished_at: Option<String>,
pub itinerary_id: String,
pub measured: Option<bool>,
pub pipeline: Option<String>,
pub runs: i32,
pub started_at: String,
pub state: ItineraryState,
pub usd: f64,
}Expand description
One causal chain of flights, and the budget it shares.
Fields§
§agents: Option<Vec<String>>Agents that ran in this chain, in the order they first ran.
detail: Option<String>Why a chain is stalled or halted, when that can be said.
finished_at: Option<String>When the last run of the chain ended. Null while it is still working.
itinerary_id: StringIdentifier of the chain.
measured: Option<bool>False when any run in the chain reported no cost. A total built partly from silence is a floor, not a figure, and showing it as though it were measured invites planning against it.
pipeline: Option<String>The pipeline it was triggered through, when one was named.
runs: i32How many runs the chain has started.
started_at: StringWhen the first run of the chain began.
state: ItineraryStateWhat became of the chain.
usd: f64What the chain has spent, as far as its runners reported.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Itinerary
impl<'de> Deserialize<'de> for Itinerary
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 Itinerary
Auto Trait Implementations§
impl Freeze for Itinerary
impl RefUnwindSafe for Itinerary
impl Send for Itinerary
impl Sync for Itinerary
impl Unpin for Itinerary
impl UnsafeUnpin for Itinerary
impl UnwindSafe for Itinerary
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