pub struct FirestoreFindNearestOptionsInit {
pub field_name: String,
pub query_vector: FirestoreVector,
pub distance_measure: FirestoreFindNearestDistanceMeasure,
pub neighbors_limit: u32,
}Expand description
Re-exports all public items from the db module.
The db module contains the core FirestoreDb client and
functionalities for interacting with the Firestore database, such as CRUD operations,
queries, and transactions.
Fields§
§field_name: String§query_vector: FirestoreVector§distance_measure: FirestoreFindNearestDistanceMeasure§neighbors_limit: u32Trait Implementations§
Source§impl From<FirestoreFindNearestOptionsInit> for FirestoreFindNearestOptions
impl From<FirestoreFindNearestOptionsInit> for FirestoreFindNearestOptions
Source§fn from(value: FirestoreFindNearestOptionsInit) -> Self
fn from(value: FirestoreFindNearestOptionsInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FirestoreFindNearestOptionsInit
impl RefUnwindSafe for FirestoreFindNearestOptionsInit
impl Send for FirestoreFindNearestOptionsInit
impl Sync for FirestoreFindNearestOptionsInit
impl Unpin for FirestoreFindNearestOptionsInit
impl UnsafeUnpin for FirestoreFindNearestOptionsInit
impl UnwindSafe for FirestoreFindNearestOptionsInit
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request