pub struct SimplifiedLeg { /* private fields */ }Implementations§
Source§impl SimplifiedLeg
impl SimplifiedLeg
pub fn new( departure_id: i32, departure_stop: &str, arrival_id: i32, arrival_stop: &str, departure_time: NaiveDateTime, arrival_time: NaiveDateTime, mode: String, ) -> Self
Trait Implementations§
Source§impl Clone for SimplifiedLeg
impl Clone for SimplifiedLeg
Source§fn clone(&self) -> SimplifiedLeg
fn clone(&self) -> SimplifiedLeg
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 moreAuto Trait Implementations§
impl Freeze for SimplifiedLeg
impl RefUnwindSafe for SimplifiedLeg
impl Send for SimplifiedLeg
impl Sync for SimplifiedLeg
impl Unpin for SimplifiedLeg
impl UnwindSafe for SimplifiedLeg
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