pub struct IndexResponse {
pub id: String,
pub status: IndexStatus,
pub created_at: DateTime<Utc>,
pub file_count: Option<usize>,
pub total_size: Option<usize>,
pub error: Option<String>,
}Expand description
Response from creating an index
Fields§
§id: StringUnique index ID
status: IndexStatusIndex status
created_at: DateTime<Utc>When the index was created
file_count: Option<usize>Number of files indexed
total_size: Option<usize>Total size of indexed content
error: Option<String>Error message if indexing failed
Trait Implementations§
Source§impl Clone for IndexResponse
impl Clone for IndexResponse
Source§fn clone(&self) -> IndexResponse
fn clone(&self) -> IndexResponse
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 IndexResponse
impl Debug for IndexResponse
Source§impl<'de> Deserialize<'de> for IndexResponse
impl<'de> Deserialize<'de> for IndexResponse
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 IndexResponse
impl RefUnwindSafe for IndexResponse
impl Send for IndexResponse
impl Sync for IndexResponse
impl Unpin for IndexResponse
impl UnwindSafe for IndexResponse
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