Trait ContentWithDraft
crev_data::proof::content
pub trait ContentWithDraft: Content { fn to_draft(&self) -> Draft; fn apply_draft(&self, body: &str) -> Result<Self> where Self: Sized; }
A content with draft support
Draft is a compact, human
fn to_draft(&self) -> Draft
fn apply_draft(&self, body: &str) -> Result<Self> where Self: Sized,
impl ContentWithDraft for Code
fn apply_draft(&self, s: &str) -> Result<Self>
impl ContentWithDraft for Package
impl ContentWithDraft for Trust