pub struct VectorizeIndex(/* private fields */);Implementations§
Source§impl VectorizeIndex
impl VectorizeIndex
pub async fn upsert<T: Serialize, U: DeserializeOwned>( &self, input: T, ) -> Result<U>
pub async fn describe<U: DeserializeOwned>(&self) -> Result<U>
pub async fn query<T: Serialize, U: DeserializeOwned>( &self, input: T, ) -> Result<U>
pub async fn get_by_ids<T: Serialize, U: DeserializeOwned>( &self, input: T, ) -> Result<U>
pub async fn delete<T: Serialize, U: DeserializeOwned>( &self, input: T, ) -> Result<U>
pub async fn delete_by_ids<T: Serialize, U: DeserializeOwned>( &self, input: T, ) -> Result<U>
Trait Implementations§
Source§impl AsRef<JsValue> for VectorizeIndex
impl AsRef<JsValue> for VectorizeIndex
Source§impl Clone for VectorizeIndex
impl Clone for VectorizeIndex
Source§fn clone(&self) -> VectorizeIndex
fn clone(&self) -> VectorizeIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VectorizeIndex
impl Debug for VectorizeIndex
Source§impl EnvBinding for VectorizeIndex
impl EnvBinding for VectorizeIndex
Source§impl From<JsValue> for VectorizeIndex
impl From<JsValue> for VectorizeIndex
Source§impl From<VectorizeIndex> for JsValue
impl From<VectorizeIndex> for JsValue
Source§fn from(value: VectorizeIndex) -> Self
fn from(value: VectorizeIndex) -> Self
Converts to this type from the input type.
Source§impl JsCast for VectorizeIndex
impl JsCast for VectorizeIndex
Source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
Performs a dynamic
instanceof check to see whether the JsValue
provided is an instance of this type. Read moreSource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
Source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
Source§fn has_type<T>(&self) -> boolwhere
T: JsCast,
fn has_type<T>(&self) -> boolwhere
T: JsCast,
Test whether this JS value has a type
T. Read moreSource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T. Read moreSource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T. Read moreSource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
Source§fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
Performs a zero-cost unchecked cast into a reference to the specified
type. Read more
impl Send for VectorizeIndex
impl Sync for VectorizeIndex
Auto Trait Implementations§
impl Freeze for VectorizeIndex
impl RefUnwindSafe for VectorizeIndex
impl Unpin for VectorizeIndex
impl UnsafeUnpin for VectorizeIndex
impl UnwindSafe for VectorizeIndex
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