Enum kgdata::db::PredefinedDB
source · pub enum PredefinedDB {
Entity,
EntityMetadata,
EntityOutLink,
EntityRedirection,
EntityPageRank,
Property,
Class,
}
Variants§
Implementations§
source§impl PredefinedDB
impl PredefinedDB
pub fn get_dbname(&self) -> &'static str
pub fn open_raw_db(&self, dbpath: &OsStr) -> Result<DB, KGDataError>
Trait Implementations§
source§impl Clone for PredefinedDB
impl Clone for PredefinedDB
source§fn clone(&self) -> PredefinedDB
fn clone(&self) -> PredefinedDB
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PredefinedDB
impl Debug for PredefinedDB
Auto Trait Implementations§
impl Freeze for PredefinedDB
impl RefUnwindSafe for PredefinedDB
impl Send for PredefinedDB
impl Sync for PredefinedDB
impl Unpin for PredefinedDB
impl UnwindSafe for PredefinedDB
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