rite-model 0.8.0

Domain model and intermediate representation for the Rite key ceremony DSL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Params for the `gather_entropy` action.

use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

/// Params for `gather_entropy` action.
#[derive(Debug, Clone, Default, Serialize, Deserialize, JsonSchema)]
#[serde(deny_unknown_fields)]
#[non_exhaustive]
pub struct GatherEntropyParams {
    /// Instruction shown to the participant describing how to produce the
    /// random value. Defaults to a generic dice suggestion; override per
    /// ceremony to mandate a specific method.
    #[serde(default)]
    pub instruction: Option<String>,
}