pub struct LibraryApi<'a> { /* private fields */ }Implementations§
Source§impl<'a> LibraryApi<'a>
impl<'a> LibraryApi<'a>
pub async fn get_library_tree(&self) -> Result<LibraryTreeResponse, Error>
pub async fn create_library_folder( &self, request: &CreateFolderRequest, ) -> Result<LibraryFolderResponse, Error>
pub async fn create_library_text( &self, request: &CreateTextRequest, ) -> Result<LibraryUploadResponse, Error>
pub async fn move_library_folder( &self, folder_id: Uuid, request: &MoveFolderRequest, ) -> Result<LibraryFolderResponse, Error>
pub async fn delete_library_folder(&self, folder_id: Uuid) -> Result<(), Error>
pub async fn upload_library_files( &self, folder_id: Option<Uuid>, files: Vec<Part>, ) -> Result<LibraryUploadResponse, Error>
pub async fn get_library_file( &self, file_id: Uuid, ) -> Result<LibraryFileDetailResponse, Error>
pub async fn move_library_file( &self, file_id: Uuid, request: &MoveFileRequest, ) -> Result<LibraryFileDetailResponse, Error>
pub async fn delete_library_file(&self, file_id: Uuid) -> Result<(), Error>
pub async fn get_library_job( &self, job_id: Uuid, ) -> Result<LibraryIngestJobResponse, Error>
pub async fn get_project_library_tree( &self, group_key: &str, project_key: &str, ) -> Result<LibraryTreeResponse, Error>
pub async fn create_project_library_folder( &self, group_key: &str, project_key: &str, request: &CreateFolderRequest, ) -> Result<LibraryFolderResponse, Error>
pub async fn create_project_library_text( &self, group_key: &str, project_key: &str, request: &CreateTextRequest, ) -> Result<LibraryUploadResponse, Error>
pub async fn upsert_project_library_text( &self, group_key: &str, project_key: &str, request: &UpsertLibraryTextRequest, ) -> Result<LibraryUploadResponse, Error>
pub async fn move_project_library_folder( &self, group_key: &str, project_key: &str, folder_id: Uuid, request: &MoveFolderRequest, ) -> Result<LibraryFolderResponse, Error>
pub async fn delete_project_library_folder( &self, group_key: &str, project_key: &str, folder_id: Uuid, ) -> Result<(), Error>
pub async fn upload_project_library_files( &self, group_key: &str, project_key: &str, folder_id: Option<Uuid>, files: Vec<Part>, ) -> Result<LibraryUploadResponse, Error>
pub async fn get_project_library_file( &self, group_key: &str, project_key: &str, file_id: Uuid, ) -> Result<LibraryFileDetailResponse, Error>
pub async fn move_project_library_file( &self, group_key: &str, project_key: &str, file_id: Uuid, request: &MoveFileRequest, ) -> Result<LibraryFileDetailResponse, Error>
pub async fn delete_project_library_file( &self, group_key: &str, project_key: &str, file_id: Uuid, ) -> Result<(), Error>
pub async fn get_project_library_job( &self, group_key: &str, project_key: &str, job_id: Uuid, ) -> Result<LibraryIngestJobResponse, Error>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LibraryApi<'a>
impl<'a> !UnwindSafe for LibraryApi<'a>
impl<'a> Freeze for LibraryApi<'a>
impl<'a> Send for LibraryApi<'a>
impl<'a> Sync for LibraryApi<'a>
impl<'a> Unpin for LibraryApi<'a>
impl<'a> UnsafeUnpin for LibraryApi<'a>
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