pub struct FileMetadataManager { /* private fields */ }Expand description
Operations for the “file_metadata” API area.
Implementations§
Source§impl FileMetadataManager
impl FileMetadataManager
pub async fn list_file_metadata( &self, file_id: String, opts: Option<FileMetadataListFileMetadataOptions>, ) -> Result<Metadatas, Error>
pub async fn get_file_metadata( &self, file_id: String, scope: GetFileIdMetadataIdScope, template_key: String, opts: Option<FileMetadataGetFileMetadataOptions>, ) -> Result<MetadataFull, Error>
pub async fn update_file_metadata( &self, file_id: String, scope: GetFileIdMetadataIdScope, template_key: String, body: Vec<UpdateFileMetadataRequest>, ) -> Result<MetadataFull, Error>
pub async fn create_file_metadata( &self, file_id: String, scope: GetFileIdMetadataIdScope, template_key: String, body: HashMap<String, Value>, ) -> Result<MetadataFull, Error>
pub async fn delete_file_metadata( &self, file_id: String, scope: GetFileIdMetadataIdScope, template_key: String, ) -> Result<(), Error>
Auto Trait Implementations§
impl !RefUnwindSafe for FileMetadataManager
impl !UnwindSafe for FileMetadataManager
impl Freeze for FileMetadataManager
impl Send for FileMetadataManager
impl Sync for FileMetadataManager
impl Unpin for FileMetadataManager
impl UnsafeUnpin for FileMetadataManager
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