pub struct ServingLines {
pub train_info: String,
pub selected: usize,
pub lines: Vec<ServingLineEntry>,
}Fields§
§train_info: String§selected: usize§lines: Vec<ServingLineEntry>Trait Implementations§
Source§impl Clone for ServingLines
impl Clone for ServingLines
Source§fn clone(&self) -> ServingLines
fn clone(&self) -> ServingLines
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 ServingLines
impl Debug for ServingLines
Source§impl<'de> Deserialize<'de> for ServingLines
impl<'de> Deserialize<'de> for ServingLines
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
Auto Trait Implementations§
impl Freeze for ServingLines
impl RefUnwindSafe for ServingLines
impl Send for ServingLines
impl Sync for ServingLines
impl Unpin for ServingLines
impl UnwindSafe for ServingLines
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