pub struct ProjectionImpact {
pub rows_to_rebuild: u64,
pub estimated_seconds: u64,
pub temp_db_size_bytes: u64,
pub current_tokenizer: Option<String>,
pub target_tokenizer: Option<String>,
}Expand description
Estimated cost of rebuilding a projection (FTS table or vector embeddings).
Returned by AdminService::preview_projection_impact.
Fields§
§rows_to_rebuild: u64Number of rows that would be processed during a full rebuild.
estimated_seconds: u64Rough estimated rebuild time in seconds.
temp_db_size_bytes: u64Estimated temporary disk space required during rebuild, in bytes.
current_tokenizer: Option<String>The tokenizer currently stored in projection_profiles, if any.
target_tokenizer: Option<String>Reserved for future use; always None currently.
Trait Implementations§
Source§impl Clone for ProjectionImpact
impl Clone for ProjectionImpact
Source§fn clone(&self) -> ProjectionImpact
fn clone(&self) -> ProjectionImpact
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 ProjectionImpact
impl Debug for ProjectionImpact
Source§impl<'de> Deserialize<'de> for ProjectionImpact
impl<'de> Deserialize<'de> for ProjectionImpact
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
Source§impl PartialEq for ProjectionImpact
impl PartialEq for ProjectionImpact
Source§impl Serialize for ProjectionImpact
impl Serialize for ProjectionImpact
impl Eq for ProjectionImpact
impl StructuralPartialEq for ProjectionImpact
Auto Trait Implementations§
impl Freeze for ProjectionImpact
impl RefUnwindSafe for ProjectionImpact
impl Send for ProjectionImpact
impl Sync for ProjectionImpact
impl Unpin for ProjectionImpact
impl UnsafeUnpin for ProjectionImpact
impl UnwindSafe for ProjectionImpact
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
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
key and return true if they are equal.