Struct lta_models::traffic::erp_rates::ErpRate
source · pub struct ErpRate {
pub vehicle_type: Vec<VehicleType>,
pub day_type: DayType,
pub start_time: Option<Time>,
pub end_time: Option<Time>,
pub zone_id: ZoneId,
pub charge_amt: f32,
pub effective_date: Date,
}
Fields§
§vehicle_type: Vec<VehicleType>
§day_type: DayType
§start_time: Option<Time>
§end_time: Option<Time>
§zone_id: ZoneId
§charge_amt: f32
§effective_date: Date
Trait Implementations§
source§impl<'de> Deserialize<'de> for ErpRate
impl<'de> Deserialize<'de> for ErpRate
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<ErpRateRaw> for ErpRate
impl From<ErpRateRaw> for ErpRate
source§fn from(r: ErpRateRaw) -> Self
fn from(r: ErpRateRaw) -> Self
Converts to this type from the input type.
source§impl PartialEq for ErpRate
impl PartialEq for ErpRate
impl StructuralPartialEq for ErpRate
Auto Trait Implementations§
impl RefUnwindSafe for ErpRate
impl Send for ErpRate
impl Sync for ErpRate
impl Unpin for ErpRate
impl UnwindSafe for ErpRate
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