pub enum SignerRole {
Provider,
Consumer,
Verifier,
Oracle,
}Expand description
Role of a signer in a proof
Variants§
Trait Implementations§
Source§impl Clone for SignerRole
impl Clone for SignerRole
Source§fn clone(&self) -> SignerRole
fn clone(&self) -> SignerRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SignerRole
Source§impl Debug for SignerRole
impl Debug for SignerRole
Source§impl<'de> Deserialize<'de> for SignerRole
impl<'de> Deserialize<'de> for SignerRole
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
impl Eq for SignerRole
Source§impl PartialEq for SignerRole
impl PartialEq for SignerRole
Source§fn eq(&self, other: &SignerRole) -> bool
fn eq(&self, other: &SignerRole) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignerRole
impl Serialize for SignerRole
impl StructuralPartialEq for SignerRole
Auto Trait Implementations§
impl Freeze for SignerRole
impl RefUnwindSafe for SignerRole
impl Send for SignerRole
impl Sync for SignerRole
impl Unpin for SignerRole
impl UnsafeUnpin for SignerRole
impl UnwindSafe for SignerRole
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