pub enum ProofInput {
Json(Value),
String(String),
}Expand description
ProofInput : An object mapping proof input variable names to their values. Can be a raw JSON object or a string serialized as JSON or TOML.
Variants§
Implementations§
Source§impl ProofInput
impl ProofInput
Sourcepub fn new() -> ProofInput
pub fn new() -> ProofInput
An object mapping proof input variable names to their values. Can be a raw JSON object or a string serialized as JSON or TOML.
Trait Implementations§
Source§impl Clone for ProofInput
impl Clone for ProofInput
Source§fn clone(&self) -> ProofInput
fn clone(&self) -> ProofInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProofInput
impl Debug for ProofInput
Source§impl Default for ProofInput
impl Default for ProofInput
Source§impl<'de> Deserialize<'de> for ProofInput
impl<'de> Deserialize<'de> for ProofInput
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
Source§impl PartialEq for ProofInput
impl PartialEq for ProofInput
Source§impl Serialize for ProofInput
impl Serialize for ProofInput
impl StructuralPartialEq for ProofInput
Auto Trait Implementations§
impl Freeze for ProofInput
impl RefUnwindSafe for ProofInput
impl Send for ProofInput
impl Sync for ProofInput
impl Unpin for ProofInput
impl UnwindSafe for ProofInput
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