pub struct RepoFreshness {
pub repo_id: RepoId,
pub checkout_id: CheckoutId,
pub head_commit: Option<String>,
pub manifest_hash: String,
pub state: RepoFreshnessState,
pub reason: Option<String>,
}Expand description
Snapshot freshness recorded for one repository checkout.
Fields§
§repo_id: RepoIdStable repository identity.
checkout_id: CheckoutIdConcrete checkout identity.
head_commit: Option<String>Commit observed by the snapshot.
manifest_hash: StringManifest fingerprint used by the snapshot.
state: RepoFreshnessStateCurrent freshness classification.
reason: Option<String>Optional bounded explanation.
Trait Implementations§
Source§impl Clone for RepoFreshness
impl Clone for RepoFreshness
Source§fn clone(&self) -> RepoFreshness
fn clone(&self) -> RepoFreshness
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 RepoFreshness
impl Debug for RepoFreshness
Source§impl<'de> Deserialize<'de> for RepoFreshness
impl<'de> Deserialize<'de> for RepoFreshness
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 RepoFreshness
Source§impl JsonSchema for RepoFreshness
impl JsonSchema for RepoFreshness
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RepoFreshness
impl PartialEq for RepoFreshness
Source§impl Serialize for RepoFreshness
impl Serialize for RepoFreshness
impl StructuralPartialEq for RepoFreshness
Auto Trait Implementations§
impl Freeze for RepoFreshness
impl RefUnwindSafe for RepoFreshness
impl Send for RepoFreshness
impl Sync for RepoFreshness
impl Unpin for RepoFreshness
impl UnsafeUnpin for RepoFreshness
impl UnwindSafe for RepoFreshness
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