pub struct BusBerth(/* private fields */);Implementations§
Source§impl BusBerth
impl BusBerth
pub fn code(self, gd: &GD) -> Result<Option<String>>
pub fn stop(self, gd: &GD) -> Result<BusStop>
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 FromSql for BusBerth
impl FromSql for BusBerth
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
impl Copy for BusBerth
impl Eq for BusBerth
impl StructuralPartialEq for BusBerth
Auto Trait Implementations§
impl Freeze for BusBerth
impl RefUnwindSafe for BusBerth
impl Send for BusBerth
impl Sync for BusBerth
impl Unpin for BusBerth
impl UnwindSafe for BusBerth
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