Struct snarkvm_console_network::AleoID
source · pub struct AleoID<F: FieldTrait, const PREFIX: u16>(/* private fields */);
Trait Implementations§
source§impl<'de, F: FieldTrait, const PREFIX: u16> Deserialize<'de> for AleoID<F, PREFIX>
impl<'de, F: FieldTrait, const PREFIX: u16> Deserialize<'de> for AleoID<F, PREFIX>
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl<F: FieldTrait, const PREFIX: u16> Distribution<AleoID<F, PREFIX>> for Standard
impl<F: FieldTrait, const PREFIX: u16> Distribution<AleoID<F, PREFIX>> for Standard
source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> AleoID<F, PREFIX>
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> AleoID<F, PREFIX>
Generate a random value of
T
, using rng
as the source of randomness.source§impl<F: PartialEq + FieldTrait, const PREFIX: u16> PartialEq for AleoID<F, PREFIX>
impl<F: PartialEq + FieldTrait, const PREFIX: u16> PartialEq for AleoID<F, PREFIX>
impl<F: Copy + FieldTrait, const PREFIX: u16> Copy for AleoID<F, PREFIX>
impl<F: Eq + FieldTrait, const PREFIX: u16> Eq for AleoID<F, PREFIX>
impl<F: FieldTrait, const PREFIX: u16> StructuralEq for AleoID<F, PREFIX>
impl<F: FieldTrait, const PREFIX: u16> StructuralPartialEq for AleoID<F, PREFIX>
Auto Trait Implementations§
impl<F, const PREFIX: u16> RefUnwindSafe for AleoID<F, PREFIX>where F: RefUnwindSafe,
impl<F, const PREFIX: u16> Send for AleoID<F, PREFIX>
impl<F, const PREFIX: u16> Sync for AleoID<F, PREFIX>
impl<F, const PREFIX: u16> Unpin for AleoID<F, PREFIX>where F: Unpin,
impl<F, const PREFIX: u16> UnwindSafe for AleoID<F, PREFIX>where F: 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<'de, T> DeserializeExt<'de> for Twhere
T: DeserializeOwned,
impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,
fn take_from_value<D>( value: &mut Value, field: &str ) -> Result<T, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
§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.