pub struct TextFields {Show 32 fields
pub auth: Option<AuthMethod>,
pub sql: Option<String>,
pub key: Option<String>,
pub value: Option<String>,
pub collection: Option<String>,
pub document_id: Option<String>,
pub data: Option<Vec<u8>>,
pub query_vector: Option<Vec<f32>>,
pub top_k: Option<u64>,
pub field: Option<String>,
pub limit: Option<u64>,
pub delta: Option<Vec<u8>>,
pub peer_id: Option<u64>,
pub vector_top_k: Option<u64>,
pub edge_label: Option<String>,
pub direction: Option<String>,
pub expansion_depth: Option<u64>,
pub final_top_k: Option<u64>,
pub vector_k: Option<f64>,
pub graph_k: Option<f64>,
pub start_node: Option<String>,
pub end_node: Option<String>,
pub depth: Option<u64>,
pub from_node: Option<String>,
pub to_node: Option<String>,
pub edge_type: Option<String>,
pub properties: Option<Value>,
pub query_text: Option<String>,
pub vector_weight: Option<f64>,
pub vectors: Option<Vec<BatchVector>>,
pub documents: Option<Vec<BatchDocument>>,
pub policy: Option<Value>,
}Expand description
Catch-all text fields used by most operations.
Each operation uses a subset; unused fields default to None/empty.
Fields§
§auth: Option<AuthMethod>§sql: Option<String>§key: Option<String>§value: Option<String>§collection: Option<String>§document_id: Option<String>§data: Option<Vec<u8>>§query_vector: Option<Vec<f32>>§top_k: Option<u64>§field: Option<String>§limit: Option<u64>§delta: Option<Vec<u8>>§peer_id: Option<u64>§vector_top_k: Option<u64>§edge_label: Option<String>§direction: Option<String>§expansion_depth: Option<u64>§final_top_k: Option<u64>§vector_k: Option<f64>§graph_k: Option<f64>§start_node: Option<String>§end_node: Option<String>§depth: Option<u64>§from_node: Option<String>§to_node: Option<String>§edge_type: Option<String>§properties: Option<Value>§query_text: Option<String>§vector_weight: Option<f64>§vectors: Option<Vec<BatchVector>>§documents: Option<Vec<BatchDocument>>§policy: Option<Value>Trait Implementations§
Source§impl Clone for TextFields
impl Clone for TextFields
Source§fn clone(&self) -> TextFields
fn clone(&self) -> TextFields
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 TextFields
impl Debug for TextFields
Source§impl Default for TextFields
impl Default for TextFields
Source§fn default() -> TextFields
fn default() -> TextFields
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextFields
impl<'de> Deserialize<'de> for TextFields
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TextFields
impl RefUnwindSafe for TextFields
impl Send for TextFields
impl Sync for TextFields
impl Unpin for TextFields
impl UnsafeUnpin for TextFields
impl UnwindSafe for TextFields
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.