[][src]Trait crev_data::proof::content::ContentWithDraft

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

Required methods

fn to_draft(&self) -> Draft

fn apply_draft(&self, body: &str) -> Result<Self> where
    Self: Sized

Loading content...

Implementors

impl ContentWithDraft for Code[src]

impl ContentWithDraft for Package[src]

impl ContentWithDraft for Trust[src]

Loading content...