pub struct StationSet {
pub stations: Vec<StopPlaceRef>,
}Fields§
§stations: Vec<StopPlaceRef>Implementations§
Source§impl StationSet
impl StationSet
pub fn new(stations: Vec<StopPlaceRef>) -> StationSet
Trait Implementations§
Source§impl Clone for StationSet
impl Clone for StationSet
Source§fn clone(&self) -> StationSet
fn clone(&self) -> StationSet
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 StationSet
impl Debug for StationSet
Source§impl Default for StationSet
impl Default for StationSet
Source§fn default() -> StationSet
fn default() -> StationSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StationSet
impl<'de> Deserialize<'de> for StationSet
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 StationSet
impl PartialEq for StationSet
Source§impl Serialize for StationSet
impl Serialize for StationSet
impl StructuralPartialEq for StationSet
Auto Trait Implementations§
impl Freeze for StationSet
impl RefUnwindSafe for StationSet
impl Send for StationSet
impl Sync for StationSet
impl Unpin for StationSet
impl UnwindSafe for StationSet
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