Struct lta_models::bus::bus_services::BusFreq
source · pub struct BusFreq {
pub min: Option<NonZeroU8>,
pub max: Option<NonZeroU8>,
}
Expand description
Both min and max are in terms of minutes
Fields§
§min: Option<NonZeroU8>
§max: Option<NonZeroU8>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for BusFreq
impl<'de> Deserialize<'de> for BusFreq
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 BusFreq
impl PartialEq for BusFreq
impl StructuralPartialEq for BusFreq
Auto Trait Implementations§
impl RefUnwindSafe for BusFreq
impl Send for BusFreq
impl Sync for BusFreq
impl Unpin for BusFreq
impl UnwindSafe for BusFreq
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