Enum aleo_rust::snarkvm_types::OutputID
pub enum OutputID<N>where
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§
§impl<N> PartialEq<OutputID<N>> for OutputID<N>where
N: PartialEq<N> + Network,
impl<N> PartialEq<OutputID<N>> for OutputID<N>where N: PartialEq<N> + Network,
impl<N> Eq for OutputID<N>where N: Eq + Network,
impl<N> StructuralEq for OutputID<N>where N: Network,
impl<N> StructuralPartialEq for OutputID<N>where N: Network,
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
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§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.