pub struct TransportationRqState {Show 15 fields
pub request_id: String,
pub status: TransportStatus,
pub mode: TransportMode,
pub service_level: Option<String>,
pub equipment: Option<Equipment>,
pub consignor: Address,
pub consignee: Address,
pub stops: Vec<LegStop>,
pub cargo: CargoSummary,
pub pickup: StepTiming,
pub delivery: StepTiming,
pub accessorials: Vec<Accessorial>,
pub references: HashMap<String, String>,
pub rate: Option<UnitRate>,
pub events: Vec<TransportEvent>,
}Expand description
The state of a transport service request/tender/booking (A→B or multi-stop)
Fields§
§request_id: StringYour unique ID (tender/booking)
status: TransportStatusCurrent lifecycle state
mode: TransportModeMode and service flavor (e.g., FTL/LTL/Express)
service_level: Option<String>§equipment: Option<Equipment>Equipment needs (container/truck/trailer etc.)
consignor: Address“Ship-From” / origin
consignee: Address“Ship-To” / final destination
stops: Vec<LegStop>Optional intermediate stops / milk run
cargo: CargoSummaryShipment synopsis
pickup: StepTimingHigh-level pickup/delivery lifecycle timings
delivery: StepTiming§accessorials: Vec<Accessorial>Extras beyond “drive from A to B” (liftgate, hazardous, temperature control, etc.)
references: HashMap<String, String>Business references (PO, Delivery, Booking, BOL, SSCC, etc.)
rate: Option<UnitRate>Quoted/awarded rate (flat, per hour/km/container — via UnitRate)
events: Vec<TransportEvent>Execution updates (optional stream of events)
Trait Implementations§
Source§impl Clone for TransportationRqState
impl Clone for TransportationRqState
Source§fn clone(&self) -> TransportationRqState
fn clone(&self) -> TransportationRqState
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 moreSource§impl Debug for TransportationRqState
impl Debug for TransportationRqState
Source§impl<'de> Deserialize<'de> for TransportationRqState
impl<'de> Deserialize<'de> for TransportationRqState
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 From<TransportationRfq> for TransportationRqState
impl From<TransportationRfq> for TransportationRqState
Source§fn from(value: TransportationRfq) -> Self
fn from(value: TransportationRfq) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for TransportationRqState
impl JsonSchema for TransportationRqState
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TransportationRqState
impl PartialEq for TransportationRqState
Source§impl Serialize for TransportationRqState
impl Serialize for TransportationRqState
impl StructuralPartialEq for TransportationRqState
Auto Trait Implementations§
impl Freeze for TransportationRqState
impl RefUnwindSafe for TransportationRqState
impl Send for TransportationRqState
impl Sync for TransportationRqState
impl Unpin for TransportationRqState
impl UnsafeUnpin for TransportationRqState
impl UnwindSafe for TransportationRqState
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