pub struct SeaStop(/* private fields */);Implementations§
Source§impl SeaStop
impl SeaStop
pub fn codes(self, gd: &GD) -> Result<Vec<String>>
pub fn company(self, gd: &GD) -> Result<SeaCompany>
pub fn name(self, gd: &GD) -> Result<Option<String>>
pub fn docks(self, gd: &GD) -> Result<Vec<SeaDock>>
pub fn connections_from_here(self, gd: &GD) -> Result<Vec<SeaConnection>>
pub fn connections_to_here(self, gd: &GD) -> Result<Vec<SeaConnection>>
pub fn lines(self, gd: &GD) -> Result<Vec<SeaLine>>
Trait Implementations§
Source§impl From<SeaStop> for AnyLocatedNode
impl From<SeaStop> for AnyLocatedNode
Source§fn from(v: SeaStop) -> AnyLocatedNode
fn from(v: SeaStop) -> AnyLocatedNode
Converts to this type from the input type.
Source§impl FromSql for SeaStop
impl FromSql for SeaStop
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 SeaStop
impl LocatedNode for SeaStop
Source§impl TryInto<SeaStop> for AnyLocatedNode
impl TryInto<SeaStop> for AnyLocatedNode
impl Copy for SeaStop
impl Eq for SeaStop
impl StructuralPartialEq for SeaStop
Auto Trait Implementations§
impl Freeze for SeaStop
impl RefUnwindSafe for SeaStop
impl Send for SeaStop
impl Sync for SeaStop
impl Unpin for SeaStop
impl UnsafeUnpin for SeaStop
impl UnwindSafe for SeaStop
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