Struct bank::scr::OGM [] [src]

pub struct OGM { /* fields omitted */ }

Methods

impl OGM
[src]

Creates a Belgian structured message from a seed.

The seed needs to be maximally 1010 - 1.

Example

let ogm = bank::scr::OGM::new(201709635u64).unwrap();
assert_eq!(ogm.to_string(), "+++020/1709/63575+++");

Trait Implementations

impl FromStr for OGM
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Display for OGM
[src]

Formats the value using the given formatter. Read more