tmflib 0.1.38

Interface library for processing TMF payloads
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Create Document Example
//!
use tmflib::tmf651::agreement::Agreement;
use tmflib::tmf667::document::Document;

fn main() {
    let agreement = Agreement::new("My Aggreement");

    let doc = Document::new("My Document").doc_type("PDF").link(agreement);

    // doc.link_entity(agreement);

    dbg!(doc);
}