pub struct CustomerSearchResultOutput {
pub customer: CustomerOutput,
pub distance: f64,
pub score: f64,
}Fields§
§customer: CustomerOutput§distance: f64§score: f64Trait Implementations§
Source§impl Clone for CustomerSearchResultOutput
impl Clone for CustomerSearchResultOutput
Source§fn clone(&self) -> CustomerSearchResultOutput
fn clone(&self) -> CustomerSearchResultOutput
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 FromNapiValue for CustomerSearchResultOutput
impl FromNapiValue for CustomerSearchResultOutput
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl ToNapiValue for CustomerSearchResultOutput
impl ToNapiValue for CustomerSearchResultOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: CustomerSearchResultOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: CustomerSearchResultOutput, ) -> Result<napi_value>
Safety Read more
Source§impl ValidateNapiValue for CustomerSearchResultOutput
impl ValidateNapiValue for CustomerSearchResultOutput
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for CustomerSearchResultOutput
impl RefUnwindSafe for CustomerSearchResultOutput
impl Send for CustomerSearchResultOutput
impl Sync for CustomerSearchResultOutput
impl Unpin for CustomerSearchResultOutput
impl UnsafeUnpin for CustomerSearchResultOutput
impl UnwindSafe for CustomerSearchResultOutput
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