Struct chill::testing::DocumentBuilder [] [src]

pub struct DocumentBuilder(_);

Methods

impl DocumentBuilder
[src]

fn new<P: IntoDocumentPath>(doc_path: P, revision: Revision) -> Self

fn unwrap(self) -> Document

fn with_content<C: Serialize>(self, new_content: &C) -> Self

fn build_content<F>(self, f: F) -> Self where F: FnOnce(ObjectBuilder) -> ObjectBuilder

Trait Implementations

Derived Implementations

impl Debug for DocumentBuilder
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.