pub struct ObjectsApi { /* private fields */ }Implementations§
Source§impl ObjectsApi
impl ObjectsApi
pub fn new(http: Arc<HttpClient>) -> Self
pub async fn list_schemas( &self, params: &ListSchemasParams, ) -> Result<ListSchemasResponse>
pub async fn get_schema(&self, schema_key: &str) -> Result<GetSchemaResponse>
pub async fn create_schema( &self, params: &CreateSchemaParams, ) -> Result<GetSchemaResponse>
pub async fn update_schema( &self, schema_key: &str, params: &UpdateSchemaParams, ) -> Result<GetSchemaResponse>
pub async fn create_record( &self, schema_key: &str, params: &CreateRecordParams, ) -> Result<CreateRecordResponse>
pub async fn get_record( &self, schema_key: &str, record_id: &str, ) -> Result<GetRecordResponse>
pub async fn update_record( &self, schema_key: &str, record_id: &str, params: &UpdateRecordParams, ) -> Result<GetRecordResponse>
pub async fn delete_record( &self, schema_key: &str, record_id: &str, ) -> Result<DeleteRecordResponse>
pub async fn search_records( &self, schema_key: &str, params: &SearchRecordsParams, ) -> Result<SearchRecordsResponse>
Auto Trait Implementations§
impl !RefUnwindSafe for ObjectsApi
impl !UnwindSafe for ObjectsApi
impl Freeze for ObjectsApi
impl Send for ObjectsApi
impl Sync for ObjectsApi
impl Unpin for ObjectsApi
impl UnsafeUnpin for ObjectsApi
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