Struct v_common::module::veda_backend::Backend
source · pub struct Backend {
pub storage: VStorage,
pub fts: FTClient,
pub mstorage_api: MStorageClient,
pub auth_api: AuthClient,
}
Fields§
§storage: VStorage
§fts: FTClient
§mstorage_api: MStorageClient
§auth_api: AuthClient
Implementations§
source§impl Backend
impl Backend
pub fn create(storage_mode: StorageMode, use_remote_storage: bool) -> Self
pub fn get_sys_ticket_id(&mut self) -> Result<String, i32>
pub fn get_literal_of_link( &mut self, indv: &mut Individual, link: &str, field: &str, to: &mut Individual ) -> Option<String>
pub fn get_literals_of_link( &mut self, indv: &mut Individual, link: &str, field: &str ) -> Vec<String>
pub fn get_datetime_of_link( &mut self, indv: &mut Individual, link: &str, field: &str, to: &mut Individual ) -> Option<i64>
pub fn get_individual_h(&mut self, uri: &str) -> Option<Box<Individual>>
pub fn get_individual_s(&mut self, uri: &str) -> Option<Individual>
pub fn get_individual<'a>( &mut self, uri: &str, iraw: &'a mut Individual ) -> Option<&'a mut Individual>
pub fn get_ticket_from_db(&mut self, id: &str) -> Ticket
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Backend
impl !RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl !UnwindSafe for Backend
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