pub struct CompactionReportV1 {Show 18 fields
pub receipt_id: ArtifactId,
pub kind: ArtifactKindV1,
pub plan_id: ArtifactId,
pub support_core_id: ArtifactId,
pub removal_frontier_id: ArtifactId,
pub invariant_budget_id: ArtifactId,
pub history_report_id: ArtifactId,
pub operator: SubtractionOperatorV1,
pub before_digest: DisplayDigestV1,
pub after_digest: DisplayDigestV1,
pub compacted: bool,
pub destructive_deletion: bool,
pub receipt_compaction_approved: bool,
pub run_id: Option<ArtifactId>,
pub attempt_id: Option<ArtifactId>,
pub source_receipt_ids: Vec<ArtifactId>,
pub reason_codes: Vec<String>,
pub compacted_at: DateTime<Utc>,
}Fields§
§receipt_id: ArtifactId§kind: ArtifactKindV1§plan_id: ArtifactId§support_core_id: ArtifactId§removal_frontier_id: ArtifactId§invariant_budget_id: ArtifactId§history_report_id: ArtifactId§operator: SubtractionOperatorV1§before_digest: DisplayDigestV1§after_digest: DisplayDigestV1§compacted: bool§destructive_deletion: bool§receipt_compaction_approved: bool§run_id: Option<ArtifactId>§attempt_id: Option<ArtifactId>§source_receipt_ids: Vec<ArtifactId>§reason_codes: Vec<String>§compacted_at: DateTime<Utc>Implementations§
Source§impl CompactionReportV1
impl CompactionReportV1
pub fn append_only( plan: &SubtractionPlanV1, report: &HistoryPreservationReportV1, source_receipt_ids: Vec<ArtifactId>, ) -> Self
Trait Implementations§
Source§impl Clone for CompactionReportV1
impl Clone for CompactionReportV1
Source§fn clone(&self) -> CompactionReportV1
fn clone(&self) -> CompactionReportV1
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 CompactionReportV1
impl Debug for CompactionReportV1
Source§impl<'de> Deserialize<'de> for CompactionReportV1
impl<'de> Deserialize<'de> for CompactionReportV1
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 CompactionReportV1
Source§impl JsonSchema for CompactionReportV1
impl JsonSchema for CompactionReportV1
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CompactionReportV1
impl PartialEq for CompactionReportV1
Source§fn eq(&self, other: &CompactionReportV1) -> bool
fn eq(&self, other: &CompactionReportV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompactionReportV1
impl Serialize for CompactionReportV1
impl StructuralPartialEq for CompactionReportV1
Auto Trait Implementations§
impl Freeze for CompactionReportV1
impl RefUnwindSafe for CompactionReportV1
impl Send for CompactionReportV1
impl Sync for CompactionReportV1
impl Unpin for CompactionReportV1
impl UnsafeUnpin for CompactionReportV1
impl UnwindSafe for CompactionReportV1
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