Trait TimestampCommitment

Source
pub trait TimestampCommitment: Commitment<Timestamp> {
    // Provided method
    fn timestamp(&self) -> Timestamp { ... }
}
Expand description

A Commitment whose expected data is a Unix time.

Provided Methods§

Source

fn timestamp(&self) -> Timestamp

Gets the timestamp as a Unix time.

Implementors§