pub struct VrfProof {
pub validator: String,
pub input: String,
pub proof: String,
pub output: String,
pub signature: String,
pub timestamp: DateTime<Utc>,
}
Expand description
VRF (Verifiable Random Function) proof
Fields§
§validator: String
§input: String
§proof: String
§output: String
§signature: String
§timestamp: DateTime<Utc>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VrfProof
impl<'de> Deserialize<'de> for VrfProof
Source§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 Freeze for VrfProof
impl RefUnwindSafe for VrfProof
impl Send for VrfProof
impl Sync for VrfProof
impl Unpin for VrfProof
impl UnwindSafe for VrfProof
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more