pub enum QueryMsg {
Config {},
LatestDrand {},
GetRandomness {
round: u64,
},
Verify {
signature: Binary,
msg_g2: Binary,
worker: String,
round: u64,
},
}
Variants
Config
Fields
Get the config state
LatestDrand
Fields
Get the last randomness
GetRandomness
Fields
round: u64
Get a specific randomness
Verify
Not used to be call directly
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for QueryMsg
impl UnwindSafe for QueryMsg
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self