pub struct AirGate(/* private fields */);Implementations§
Source§impl AirGate
impl AirGate
pub fn code(self, gd: &GD) -> Result<Option<String>>
pub fn airport(self, gd: &GD) -> Result<AirAirport>
pub fn airline(self, gd: &GD) -> Result<Option<AirAirline>>
pub fn width(self, gd: &GD) -> Result<Option<u32>>
pub fn mode(self, gd: &GD) -> Result<AirMode>
pub fn flights_from_here(self, gd: &GD) -> Result<Vec<AirFlight>>
pub fn flights_to_here(self, gd: &GD) -> Result<Vec<AirFlight>>
Trait Implementations§
Source§impl FromSql for AirGate
impl FromSql for AirGate
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
impl Copy for AirGate
impl Eq for AirGate
impl StructuralPartialEq for AirGate
Auto Trait Implementations§
impl Freeze for AirGate
impl RefUnwindSafe for AirGate
impl Send for AirGate
impl Sync for AirGate
impl Unpin for AirGate
impl UnwindSafe for AirGate
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