pub struct VectorStoreFile {
pub id: String,
pub object: String,
pub created_at: Option<u64>,
pub vector_store_id: Option<String>,
pub status: Option<String>,
pub last_error: Option<VectorStoreFileLastError>,
pub usage_bytes: Option<u64>,
pub attributes: Option<VectorStoreAttributes>,
pub chunking_strategy: Option<VectorStoreFileChunkingStrategy>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示 vector store 文件对象。
Fields§
§id: String对象 ID。
object: String对象类型。
created_at: Option<u64>创建时间戳。
vector_store_id: Option<String>关联的 vector store ID。
status: Option<String>状态。
last_error: Option<VectorStoreFileLastError>最近错误。
usage_bytes: Option<u64>占用字节数。
attributes: Option<VectorStoreAttributes>属性。
chunking_strategy: Option<VectorStoreFileChunkingStrategy>分块策略。
extra: BTreeMap<String, Value>额外字段。
Trait Implementations§
Source§impl Clone for VectorStoreFile
impl Clone for VectorStoreFile
Source§fn clone(&self) -> VectorStoreFile
fn clone(&self) -> VectorStoreFile
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 VectorStoreFile
impl Debug for VectorStoreFile
Source§impl Default for VectorStoreFile
impl Default for VectorStoreFile
Source§fn default() -> VectorStoreFile
fn default() -> VectorStoreFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VectorStoreFile
impl<'de> Deserialize<'de> for VectorStoreFile
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 VectorStoreFile
impl RefUnwindSafe for VectorStoreFile
impl Send for VectorStoreFile
impl Sync for VectorStoreFile
impl Unpin for VectorStoreFile
impl UnsafeUnpin for VectorStoreFile
impl UnwindSafe for VectorStoreFile
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