pub struct IndexUpdate {
pub operation_id: String,
pub operation: IndexOperation,
pub priority: u8,
pub timestamp: DateTime<Utc>,
pub source: String,
pub metadata: HashMap<String, Value>,
pub dependencies: Vec<String>,
pub max_retries: u32,
pub retry_count: u32,
}Expand description
Index update specification
Fields§
§operation_id: StringUnique operation ID
operation: IndexOperationOperation to perform
priority: u8Priority level (0-10, higher = more priority)
timestamp: DateTime<Utc>Operation timestamp
source: StringSource of the operation
metadata: HashMap<String, Value>Operation metadata
dependencies: Vec<String>Dependencies on other operations
max_retries: u32Maximum retry attempts
retry_count: u32Current retry count
Trait Implementations§
Source§impl Clone for IndexUpdate
impl Clone for IndexUpdate
Source§fn clone(&self) -> IndexUpdate
fn clone(&self) -> IndexUpdate
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 IndexUpdate
impl Debug for IndexUpdate
Source§impl<'de> Deserialize<'de> for IndexUpdate
impl<'de> Deserialize<'de> for IndexUpdate
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 IndexUpdate
impl RefUnwindSafe for IndexUpdate
impl Send for IndexUpdate
impl Sync for IndexUpdate
impl Unpin for IndexUpdate
impl UnwindSafe for IndexUpdate
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