Struct snarkvm_console_network::AleoObject
source · pub struct AleoObject<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize>(_);
Trait Implementations§
source§impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Bech32Object<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Bech32Object<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Borrow<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Borrow<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§impl<T: Clone + Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Clone for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Clone for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§fn clone(&self) -> AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
fn clone(&self) -> AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Debug for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Debug for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§impl<T: Default + Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Default for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Default + Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Default for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Deref for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Deref for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§impl<'de, T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Deserialize<'de> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<'de, T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Deserialize<'de> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
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<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Display for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Display for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> From<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> From<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> FromBytes for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> FromBytes for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> FromStr for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> FromStr for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§impl<T: Hash + Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Hash for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Hash + Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Hash for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§impl<T: PartialEq + Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> PartialEq<AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: PartialEq + Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> PartialEq<AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§fn eq(&self, other: &AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>) -> bool
fn eq(&self, other: &AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Serialize for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Serialize for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
source§impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> ToBytes for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> ToBytes for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Eq + Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Eq for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> StructuralEq for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> StructuralPartialEq for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
Auto Trait Implementations§
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> RefUnwindSafe for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where T: RefUnwindSafe,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Send for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Sync for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Unpin for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where T: Unpin,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> UnwindSafe for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where T: 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.