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§fn clone(&self) -> EmbeddingProgressMessage
fn clone(&self) -> EmbeddingProgressMessage
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 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<EmbeddingProgressMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EmbeddingProgressMessage, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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