pub enum OutputID<N: Network> {
Constant(Field<N>),
Public(Field<N>),
Private(Field<N>),
Record(Field<N>, Field<N>),
ExternalRecord(Field<N>),
}
Variants§
Constant(Field<N>)
The hash of the constant output.
Public(Field<N>)
The hash of the public output.
Private(Field<N>)
The ciphertext hash of the private output.
Record(Field<N>, Field<N>)
The (commitment, checksum)
tuple of the record output.
ExternalRecord(Field<N>)
The hash of the external record output.
Trait Implementations§
source§impl<N: PartialEq + Network> PartialEq<OutputID<N>> for OutputID<N>
impl<N: PartialEq + Network> PartialEq<OutputID<N>> for OutputID<N>
impl<N: Eq + Network> Eq for OutputID<N>
impl<N: Network> StructuralEq for OutputID<N>
impl<N: Network> StructuralPartialEq for OutputID<N>
Auto Trait Implementations§
impl<N> RefUnwindSafe for OutputID<N>where <N as Environment>::Field: RefUnwindSafe,
impl<N> Send for OutputID<N>
impl<N> Sync for OutputID<N>
impl<N> Unpin for OutputID<N>where <N as Environment>::Field: Unpin,
impl<N> UnwindSafe for OutputID<N>where <N as Environment>::Field: UnwindSafe,
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.