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