pub struct OverstayRuleList {
pub overstay_power_threshold: Option<RationalNumber>,
pub overstay_rule: Vec<OverstayRule>,
pub overstay_time_threshold: Option<i64>,
pub custom_data: Option<CustomData>,
}Expand description
Part of ISO 15118-20 price schedule.
Fields§
§overstay_power_threshold: Option<RationalNumber>§overstay_rule: Vec<OverstayRule>§overstay_time_threshold: Option<i64>Time till overstay is applied in seconds.
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for OverstayRuleList
impl Clone for OverstayRuleList
Source§impl Debug for OverstayRuleList
impl Debug for OverstayRuleList
Source§impl<'de> Deserialize<'de> for OverstayRuleList
impl<'de> Deserialize<'de> for OverstayRuleList
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 PartialEq for OverstayRuleList
impl PartialEq for OverstayRuleList
Source§impl Serialize for OverstayRuleList
impl Serialize for OverstayRuleList
impl StructuralPartialEq for OverstayRuleList
Auto Trait Implementations§
impl Freeze for OverstayRuleList
impl RefUnwindSafe for OverstayRuleList
impl Send for OverstayRuleList
impl Sync for OverstayRuleList
impl Unpin for OverstayRuleList
impl UnsafeUnpin for OverstayRuleList
impl UnwindSafe for OverstayRuleList
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