Struct lta_models::train::train_service_alert::AffectedSegment
source · pub struct AffectedSegment {
pub line: MrtLine,
pub direction: String,
pub stations: Vec<StringWrap>,
pub free_public_bus: String,
pub free_mrt_shuttle: String,
pub mrt_shuttle_dir: String,
}
Fields§
§line: MrtLine
§direction: String
§stations: Vec<StringWrap>
§free_public_bus: String
§free_mrt_shuttle: String
§mrt_shuttle_dir: String
Trait Implementations§
source§impl Clone for AffectedSegment
impl Clone for AffectedSegment
source§fn clone(&self) -> AffectedSegment
fn clone(&self) -> AffectedSegment
Returns a copy 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 AffectedSegment
impl Debug for AffectedSegment
source§impl<'de> Deserialize<'de> for AffectedSegment
impl<'de> Deserialize<'de> for AffectedSegment
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 AffectedSegment
impl PartialEq for AffectedSegment
source§fn eq(&self, other: &AffectedSegment) -> bool
fn eq(&self, other: &AffectedSegment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AffectedSegment
impl Serialize for AffectedSegment
impl StructuralPartialEq for AffectedSegment
Auto Trait Implementations§
impl RefUnwindSafe for AffectedSegment
impl Send for AffectedSegment
impl Sync for AffectedSegment
impl Unpin for AffectedSegment
impl UnwindSafe for AffectedSegment
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