pub struct SearchMatch {
pub type_field: String,
pub line_id: String,
pub mode: String,
pub line_name: String,
pub line_route_section: Vec<LineRouteSection>,
pub matched_route_sections: Vec<Value>,
pub matched_stops: Vec<Value>,
}
Fields§
§type_field: String
§line_id: String
§mode: String
§line_name: String
§line_route_section: Vec<LineRouteSection>
§matched_route_sections: Vec<Value>
§matched_stops: Vec<Value>
Trait Implementations§
Source§impl Clone for SearchMatch
impl Clone for SearchMatch
Source§fn clone(&self) -> SearchMatch
fn clone(&self) -> SearchMatch
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 SearchMatch
impl Debug for SearchMatch
Source§impl Default for SearchMatch
impl Default for SearchMatch
Source§fn default() -> SearchMatch
fn default() -> SearchMatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchMatch
impl<'de> Deserialize<'de> for SearchMatch
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 SearchMatch
impl PartialEq for SearchMatch
Source§impl Serialize for SearchMatch
impl Serialize for SearchMatch
impl StructuralPartialEq for SearchMatch
Auto Trait Implementations§
impl Freeze for SearchMatch
impl RefUnwindSafe for SearchMatch
impl Send for SearchMatch
impl Sync for SearchMatch
impl Unpin for SearchMatch
impl UnwindSafe for SearchMatch
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