Struct snarkvm_console_program::ProgramOwner
source · pub struct ProgramOwner<N: Network> { /* private fields */ }
Implementations§
source§impl<N: Network> ProgramOwner<N>
impl<N: Network> ProgramOwner<N>
Trait Implementations§
source§impl<N: Clone + Network> Clone for ProgramOwner<N>
impl<N: Clone + Network> Clone for ProgramOwner<N>
source§fn clone(&self) -> ProgramOwner<N>
fn clone(&self) -> ProgramOwner<N>
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<N: Network> Debug for ProgramOwner<N>
impl<N: Network> Debug for ProgramOwner<N>
source§impl<'de, N: Network> Deserialize<'de> for ProgramOwner<N>
impl<'de, N: Network> Deserialize<'de> for ProgramOwner<N>
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserializes the owner from a string or bytes.
source§impl<N: Network> Display for ProgramOwner<N>
impl<N: Network> Display for ProgramOwner<N>
source§impl<N: Network> FromBytes for ProgramOwner<N>
impl<N: Network> FromBytes for ProgramOwner<N>
source§impl<N: Network> FromStr for ProgramOwner<N>
impl<N: Network> FromStr for ProgramOwner<N>
source§impl<N: PartialEq + Network> PartialEq<ProgramOwner<N>> for ProgramOwner<N>
impl<N: PartialEq + Network> PartialEq<ProgramOwner<N>> for ProgramOwner<N>
source§fn eq(&self, other: &ProgramOwner<N>) -> bool
fn eq(&self, other: &ProgramOwner<N>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<N: Network> Serialize for ProgramOwner<N>
impl<N: Network> Serialize for ProgramOwner<N>
source§impl<N: Network> ToBytes for ProgramOwner<N>
impl<N: Network> ToBytes for ProgramOwner<N>
impl<N: Copy + Network> Copy for ProgramOwner<N>
impl<N: Eq + Network> Eq for ProgramOwner<N>
impl<N: Network> StructuralEq for ProgramOwner<N>
impl<N: Network> StructuralPartialEq for ProgramOwner<N>
Auto Trait Implementations§
impl<N> RefUnwindSafe for ProgramOwner<N>where <N as Environment>::Projective: RefUnwindSafe, <N as Environment>::Scalar: RefUnwindSafe,
impl<N> Send for ProgramOwner<N>
impl<N> Sync for ProgramOwner<N>
impl<N> Unpin for ProgramOwner<N>where <N as Environment>::Projective: Unpin, <N as Environment>::Scalar: Unpin,
impl<N> UnwindSafe for ProgramOwner<N>where <N as Environment>::Projective: UnwindSafe, <N as Environment>::Scalar: 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.