pub struct EmbeddingStatsOutput {
pub product_count: u32,
pub customer_count: u32,
pub order_count: u32,
pub inventory_count: u32,
pub model: String,
pub dimensions: u32,
}Fields§
§product_count: u32§customer_count: u32§order_count: u32§inventory_count: u32§model: String§dimensions: u32Trait Implementations§
Source§impl Clone for EmbeddingStatsOutput
impl Clone for EmbeddingStatsOutput
Source§fn clone(&self) -> EmbeddingStatsOutput
fn clone(&self) -> EmbeddingStatsOutput
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 EmbeddingStatsOutput
impl FromNapiValue for EmbeddingStatsOutput
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 Serialize for EmbeddingStatsOutput
impl Serialize for EmbeddingStatsOutput
Source§impl ToNapiValue for EmbeddingStatsOutput
impl ToNapiValue for EmbeddingStatsOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: EmbeddingStatsOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: EmbeddingStatsOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for EmbeddingStatsOutput
impl TypeName for EmbeddingStatsOutput
Source§impl ValidateNapiValue for EmbeddingStatsOutput
impl ValidateNapiValue for EmbeddingStatsOutput
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 EmbeddingStatsOutput
impl RefUnwindSafe for EmbeddingStatsOutput
impl Send for EmbeddingStatsOutput
impl Sync for EmbeddingStatsOutput
impl Unpin for EmbeddingStatsOutput
impl UnsafeUnpin for EmbeddingStatsOutput
impl UnwindSafe for EmbeddingStatsOutput
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