[−][src]Struct ncbitaxonomy::NcbiSqliteTaxonomy
Methods
impl NcbiSqliteTaxonomy
[src]
pub fn new(db_url: Option<&str>) -> Self
[src]
pub fn from_connection(connection: SqliteConnection) -> Self
[src]
Trait Implementations
impl NcbiTaxonomy for NcbiSqliteTaxonomy
[src]
fn contains_id(&self, taxid: i32) -> bool
[src]
fn contains_name(&self, name_str: &str) -> bool
[src]
fn is_descendant(&self, name_str: &str, ancestor: &str) -> bool
[src]
fn is_descendant_taxid(&self, taxid: i32, ancestor_taxid: i32) -> bool
[src]
fn get_name_by_id(&self, taxid: i32) -> Option<String>
[src]
fn get_id_by_name(&self, name_str: &str) -> Option<i32>
[src]
fn get_distance_to_common_ancestor_taxid(
&self,
taxid1: i32,
taxid2: i32,
only_canonical: bool
) -> Option<(i32, i32)>
[src]
&self,
taxid1: i32,
taxid2: i32,
only_canonical: bool
) -> Option<(i32, i32)>
fn get_distance_to_common_ancestor(
&self,
name1: &str,
name2: &str,
only_canonical: bool
) -> Option<(i32, String)>
[src]
&self,
name1: &str,
name2: &str,
only_canonical: bool
) -> Option<(i32, String)>
Auto Trait Implementations
impl !RefUnwindSafe for NcbiSqliteTaxonomy
impl Send for NcbiSqliteTaxonomy
impl !Sync for NcbiSqliteTaxonomy
impl Unpin for NcbiSqliteTaxonomy
impl UnwindSafe for NcbiSqliteTaxonomy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,