Struct lta_models::traffic::erp_rates::ErpRateRaw
source · pub struct ErpRateRaw {
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 Clone for ErpRateRaw
impl Clone for ErpRateRaw
source§fn clone(&self) -> ErpRateRaw
fn clone(&self) -> ErpRateRaw
Returns a copy 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 ErpRateRaw
impl Debug for ErpRateRaw
source§impl<'de> Deserialize<'de> for ErpRateRaw
impl<'de> Deserialize<'de> for ErpRateRaw
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 ErpRateRaw
impl PartialEq for ErpRateRaw
source§fn eq(&self, other: &ErpRateRaw) -> bool
fn eq(&self, other: &ErpRateRaw) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ErpRateRaw
impl Serialize for ErpRateRaw
impl StructuralPartialEq for ErpRateRaw
Auto Trait Implementations§
impl RefUnwindSafe for ErpRateRaw
impl Send for ErpRateRaw
impl Sync for ErpRateRaw
impl Unpin for ErpRateRaw
impl UnwindSafe for ErpRateRaw
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