tmflib 0.1.38

Interface library for processing TMF payloads
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Create Ticket Example

#[cfg(feature = "tmf621")]
use tmflib::{tmf621::trouble_ticket::TroubleTicket, HasDescription};

fn main() {
    #[cfg(feature = "tmf621")]
    {
        let ticket = TroubleTicket::new("A Ticket").description("This is a trouble ticket");

        dbg!(ticket);
    }
}