Struct vrc_get_litedb::connection::DatabaseConnection
source · pub struct DatabaseConnection { /* private fields */ }
Implementations§
source§impl DatabaseConnection
impl DatabaseConnection
pub fn get_projects(&self) -> Result<Box<[Project]>>
pub fn update_project(&self, project: &Project) -> Result<()>
pub fn insert_project(&self, project: &Project) -> Result<()>
pub fn delete_project(&self, project_id: ObjectId) -> Result<()>
pub fn get_unity_versions(&self) -> Result<Box<[UnityVersion]>>
pub fn update_unity_version(&self, project: &UnityVersion) -> Result<()>
pub fn insert_unity_version(&self, project: &UnityVersion) -> Result<()>
pub fn delete_unity_version(&self, project_id: ObjectId) -> Result<()>
Trait Implementations§
source§impl Debug for DatabaseConnection
impl Debug for DatabaseConnection
Auto Trait Implementations§
impl RefUnwindSafe for DatabaseConnection
impl Send for DatabaseConnection
impl Sync for DatabaseConnection
impl Unpin for DatabaseConnection
impl UnwindSafe for DatabaseConnection
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