pub struct DrainReembedResponse {
pub processed: usize,
pub remaining: usize,
pub elapsed_ms: u128,
pub cycles: usize,
pub timed_out: bool,
}Expand description
Response from POST /admin/reembed/drain (v0.11.82+).
A remaining of 0 means all
_embedding_kind=static vectors have been upgraded to full ONNX quality.
Fields§
§processed: usizeTotal vectors upgraded across all cycles in this drain.
remaining: usizeStatic candidates still remaining (0 on a full drain).
elapsed_ms: u128Wall-clock duration of the drain in milliseconds.
cycles: usizeNumber of upgrade cycles executed.
timed_out: booltrue if the drain stopped on the timeout rather than reaching zero.
Trait Implementations§
Source§impl Clone for DrainReembedResponse
impl Clone for DrainReembedResponse
Source§fn clone(&self) -> DrainReembedResponse
fn clone(&self) -> DrainReembedResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DrainReembedResponse
impl Debug for DrainReembedResponse
Source§impl<'de> Deserialize<'de> for DrainReembedResponse
impl<'de> Deserialize<'de> for DrainReembedResponse
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 DrainReembedResponse
impl RefUnwindSafe for DrainReembedResponse
impl Send for DrainReembedResponse
impl Sync for DrainReembedResponse
impl Unpin for DrainReembedResponse
impl UnsafeUnpin for DrainReembedResponse
impl UnwindSafe for DrainReembedResponse
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