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