pub struct CodeIndexTaskRecord {Show 22 fields
pub task_id: String,
pub repository_id: String,
pub alias: String,
pub ref_selector: String,
pub resolved_commit_sha: String,
pub tree_hash: String,
pub source_scope: String,
pub path_filters: Vec<String>,
pub language_filters: Vec<String>,
pub mode: CodeIndexMode,
pub state: CodeIndexTaskState,
pub lease_owner: Option<String>,
pub lease_expires_at_ms: Option<u64>,
pub attempt_count: u32,
pub next_retry_at_ms: u64,
pub input_fingerprint: String,
pub resource_budget: CodeIndexResourceBudget,
pub payload_json: String,
pub last_error_kind: Option<String>,
pub last_error_message: Option<String>,
pub created_at_ms: u64,
pub updated_at_ms: u64,
}Expand description
Durable background task for one code repository index request.
Fields§
§task_id: String§repository_id: String§alias: String§ref_selector: String§resolved_commit_sha: String§tree_hash: String§source_scope: String§path_filters: Vec<String>§language_filters: Vec<String>§mode: CodeIndexMode§state: CodeIndexTaskState§lease_owner: Option<String>§lease_expires_at_ms: Option<u64>§attempt_count: u32§next_retry_at_ms: u64§input_fingerprint: String§resource_budget: CodeIndexResourceBudget§payload_json: String§last_error_kind: Option<String>§last_error_message: Option<String>§created_at_ms: u64§updated_at_ms: u64Trait Implementations§
Source§impl Clone for CodeIndexTaskRecord
impl Clone for CodeIndexTaskRecord
Source§fn clone(&self) -> CodeIndexTaskRecord
fn clone(&self) -> CodeIndexTaskRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CodeIndexTaskRecord
impl Debug for CodeIndexTaskRecord
Source§impl<'de> Deserialize<'de> for CodeIndexTaskRecord
impl<'de> Deserialize<'de> for CodeIndexTaskRecord
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
impl Eq for CodeIndexTaskRecord
Source§impl PartialEq for CodeIndexTaskRecord
impl PartialEq for CodeIndexTaskRecord
Source§fn eq(&self, other: &CodeIndexTaskRecord) -> bool
fn eq(&self, other: &CodeIndexTaskRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeIndexTaskRecord
impl Serialize for CodeIndexTaskRecord
impl StructuralPartialEq for CodeIndexTaskRecord
Auto Trait Implementations§
impl Freeze for CodeIndexTaskRecord
impl RefUnwindSafe for CodeIndexTaskRecord
impl Send for CodeIndexTaskRecord
impl Sync for CodeIndexTaskRecord
impl Unpin for CodeIndexTaskRecord
impl UnsafeUnpin for CodeIndexTaskRecord
impl UnwindSafe for CodeIndexTaskRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.