pub struct BusStop(/* private fields */);Implementations§
Source§impl BusStop
impl BusStop
pub fn codes(self, gd: &GD) -> Result<Vec<String>>
pub fn company(self, gd: &GD) -> Result<BusCompany>
pub fn name(self, gd: &GD) -> Result<Option<String>>
pub fn berths(self, gd: &GD) -> Result<Vec<BusBerth>>
pub fn connections_from_here(self, gd: &GD) -> Result<Vec<BusConnection>>
pub fn connections_to_here(self, gd: &GD) -> Result<Vec<BusConnection>>
pub fn lines(self, gd: &GD) -> Result<Vec<BusLine>>
Trait Implementations§
Source§impl From<BusStop> for AnyLocatedNode
impl From<BusStop> for AnyLocatedNode
Source§fn from(v: BusStop) -> AnyLocatedNode
fn from(v: BusStop) -> AnyLocatedNode
Converts to this type from the input type.
Source§impl FromSql for BusStop
impl FromSql for BusStop
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl LocatedNode for BusStop
impl LocatedNode for BusStop
Source§impl TryInto<BusStop> for AnyLocatedNode
impl TryInto<BusStop> for AnyLocatedNode
impl Copy for BusStop
impl Eq for BusStop
impl StructuralPartialEq for BusStop
Auto Trait Implementations§
impl Freeze for BusStop
impl RefUnwindSafe for BusStop
impl Send for BusStop
impl Sync for BusStop
impl Unpin for BusStop
impl UnsafeUnpin for BusStop
impl UnwindSafe for BusStop
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more