pub struct LegacyIndexFile {
pub version: u32,
pub metadata_config: MetadataConfig,
pub items: Vec<VectorItem>,
}Expand description
Exact format matching Node.js index.json structure
Fields§
§version: u32§metadata_config: MetadataConfig§items: Vec<VectorItem>Trait Implementations§
Source§impl Clone for LegacyIndexFile
impl Clone for LegacyIndexFile
Source§fn clone(&self) -> LegacyIndexFile
fn clone(&self) -> LegacyIndexFile
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 Debug for LegacyIndexFile
impl Debug for LegacyIndexFile
Source§impl<'de> Deserialize<'de> for LegacyIndexFile
impl<'de> Deserialize<'de> for LegacyIndexFile
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 LegacyIndexFile
impl RefUnwindSafe for LegacyIndexFile
impl Send for LegacyIndexFile
impl Sync for LegacyIndexFile
impl Unpin for LegacyIndexFile
impl UnwindSafe for LegacyIndexFile
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