pub struct Check {Show 15 fields
pub repository_id: Uuid,
pub number: u64,
pub supertest: Supertest,
pub revision: CheckRevision,
pub terminal: bool,
pub problematic: bool,
pub result: Option<CheckResult>,
pub operational_error: Option<CheckOperationalError>,
pub presentation: CheckPresentation,
pub fix: Option<FixProposal>,
pub fix_pending: bool,
pub updates_pending: bool,
pub event_sequence: u64,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Fields§
§repository_id: Uuid§number: u64§supertest: Supertest§revision: CheckRevision§terminal: bool§problematic: bool§result: Option<CheckResult>§operational_error: Option<CheckOperationalError>The check could not complete normally; distinct from a reported code problem.
presentation: CheckPresentation§fix: Option<FixProposal>§fix_pending: boolA proposal may still arrive; this does not indicate active preparation.
updates_pending: boolFurther updates may arrive even when terminal is true.
event_sequence: u64§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Implementations§
Source§impl Check
impl Check
Sourcepub fn normalize_presentation(&mut self)
pub fn normalize_presentation(&mut self)
Normalize saved display fields while preserving the outcome, evidence, source, and patch.
Sourcepub fn into_public_view(self) -> Self
pub fn into_public_view(self) -> Self
Return a display-compatible copy at a public response boundary.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Check
impl<'de> Deserialize<'de> for Check
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 Check
impl StructuralPartialEq for Check
Auto Trait Implementations§
impl Freeze for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl UnwindSafe for Check
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