pub struct EmbeddingItem {
pub index: usize,
pub host: String,
pub port: u16,
pub room: u64,
pub rows: i64,
}Expand description
EPD: one multimodal item of a request whose embedding an encode node
computes, as the request names it (item.encode_handshake).
Fields§
§index: usizeThe item’s position among the request’s multimodal items.
host: StringThe encode node’s bootstrap server.
port: u16Its port.
room: u64The room the encode node ships the item’s embedding under.
rows: i64The embedding’s rows: the item’s tokens.
Trait Implementations§
Source§impl Clone for EmbeddingItem
impl Clone for EmbeddingItem
Source§impl Debug for EmbeddingItem
impl Debug for EmbeddingItem
impl Eq for EmbeddingItem
Source§impl PartialEq for EmbeddingItem
impl PartialEq for EmbeddingItem
impl StructuralPartialEq for EmbeddingItem
Auto Trait Implementations§
impl Freeze for EmbeddingItem
impl RefUnwindSafe for EmbeddingItem
impl Send for EmbeddingItem
impl Sync for EmbeddingItem
impl Unpin for EmbeddingItem
impl UnsafeUnpin for EmbeddingItem
impl UnwindSafe for EmbeddingItem
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.