pub struct SigNote {
pub voter: String,
pub choice: String,
pub key: String,
pub sig: String,
pub harness: Option<String>,
pub nonce: Option<String>,
pub claimed_harness: Option<String>,
pub claimed_nonce: Option<String>,
pub link: Option<String>,
}Expand description
A signature note’s fields. harness and nonce are set when the note
is a v2 binding. A tree-bound note also names the session the
environment claimed (claimed_harness, claimed_nonce) and why the
ballot folds (link: shell or harness). The signature covers
those fields. harness and nonce are the voice the ballot counts as.
Fields§
§voter: String§choice: String§key: String§sig: String§harness: Option<String>§nonce: Option<String>§claimed_harness: Option<String>§claimed_nonce: Option<String>§link: Option<String>Implementations§
Trait Implementations§
impl Eq for SigNote
impl StructuralPartialEq for SigNote
Auto Trait Implementations§
impl Freeze for SigNote
impl RefUnwindSafe for SigNote
impl Send for SigNote
impl Sync for SigNote
impl Unpin for SigNote
impl UnsafeUnpin for SigNote
impl UnwindSafe for SigNote
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more