pub struct EmbeddingProgressMessage {
pub library: String,
pub state: EmbeddingPassState,
pub embedder: String,
pub processed: u64,
pub embedded: u64,
pub total: u64,
}Expand description
Payload of the embedding_progress event. A pass sends started once, running
after each media, then exactly one of completed, paused, stopped,
interrupted or failed.
Fields§
§library: String§state: EmbeddingPassState§embedder: String§processed: u64Medias tried so far in this pass.
embedded: u64Of which embedded; the others failed.
total: u64Medias this pass covers: those pending when it started, kept in step with
uploads and deletions since. Never below processed.
Trait Implementations§
Source§impl Clone for EmbeddingProgressMessage
impl Clone for EmbeddingProgressMessage
Source§impl Debug for EmbeddingProgressMessage
impl Debug for EmbeddingProgressMessage
Source§impl<'de> Deserialize<'de> for EmbeddingProgressMessage
impl<'de> Deserialize<'de> for EmbeddingProgressMessage
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
Source§impl PartialEq for EmbeddingProgressMessage
impl PartialEq for EmbeddingProgressMessage
Source§impl Serialize for EmbeddingProgressMessage
impl Serialize for EmbeddingProgressMessage
impl StructuralPartialEq for EmbeddingProgressMessage
Auto Trait Implementations§
impl Forget for EmbeddingProgressMessage
impl Freeze for EmbeddingProgressMessage
impl Move for EmbeddingProgressMessage
impl RefUnwindSafe for EmbeddingProgressMessage
impl Send for EmbeddingProgressMessagewhere
RawVecInner: Send,
impl Sync for EmbeddingProgressMessagewhere
RawVecInner: Sync,
impl Unpin for EmbeddingProgressMessage
impl UnsafeUnpin for EmbeddingProgressMessage
impl UnwindSafe for EmbeddingProgressMessagewhere
RawVecInner: UnwindSafe,
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