pub struct Namespace<'a> { /* private fields */ }Implementations§
Source§impl<'a> Namespace<'a>
impl<'a> Namespace<'a>
pub fn name(&self) -> &str
pub async fn write(&self, params: WriteParams) -> Result<WriteResponse>
pub async fn query(&self, params: QueryParams) -> Result<QueryResponse>
pub async fn multi_query( &self, params: MultiQueryParams, ) -> Result<MultiQueryResponse>
pub async fn delete_all(&self) -> Result<DeleteAllResponse>
pub async fn metadata(&self) -> Result<NamespaceMetadata>
pub async fn schema(&self) -> Result<SchemaResponse>
pub async fn hint_cache_warm(&self) -> Result<HintCacheWarmResponse>
Auto Trait Implementations§
impl<'a> Freeze for Namespace<'a>
impl<'a> !RefUnwindSafe for Namespace<'a>
impl<'a> Send for Namespace<'a>
impl<'a> Sync for Namespace<'a>
impl<'a> Unpin for Namespace<'a>
impl<'a> !UnwindSafe for Namespace<'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