[−][src]Struct snarkos_objects::account::account_view_key::AccountViewKey
Fields
decryption_key: <C::AccountEncryption as EncryptionScheme>::PrivateKeyImplementations
impl<C: DPCComponents> AccountViewKey<C>[src]
pub fn from_private_key(
signature_parameters: &C::AccountSignature,
commitment_parameters: &C::AccountCommitment,
private_key: &AccountPrivateKey<C>
) -> Result<Self, AccountError>[src]
signature_parameters: &C::AccountSignature,
commitment_parameters: &C::AccountCommitment,
private_key: &AccountPrivateKey<C>
) -> Result<Self, AccountError>
Creates a new account view key from an account private key.
Trait Implementations
impl<C: DPCComponents> Clone for AccountViewKey<C> where
C: DPCComponents, [src]
C: DPCComponents,
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<C: DPCComponents> Debug for AccountViewKey<C>[src]
impl<C: DPCComponents> Default for AccountViewKey<C> where
C: DPCComponents, [src]
C: DPCComponents,
impl<C: DPCComponents> Display for AccountViewKey<C>[src]
impl<C: DPCComponents> Eq for AccountViewKey<C> where
C: DPCComponents, [src]
C: DPCComponents,
impl<C: DPCComponents> FromBytes for AccountViewKey<C>[src]
impl<C: DPCComponents> FromStr for AccountViewKey<C>[src]
type Err = AccountError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>[src]
Reads in an account view key string.
impl<C: DPCComponents> PartialEq<AccountViewKey<C>> for AccountViewKey<C> where
C: DPCComponents, [src]
C: DPCComponents,
impl<C: DPCComponents> ToBytes for AccountViewKey<C>[src]
Auto Trait Implementations
impl<C> RefUnwindSafe for AccountViewKey<C> where
<<C as DPCComponents>::AccountEncryption as EncryptionScheme>::PrivateKey: RefUnwindSafe,
<<C as DPCComponents>::AccountEncryption as EncryptionScheme>::PrivateKey: RefUnwindSafe,
impl<C> Send for AccountViewKey<C> where
<<C as DPCComponents>::AccountEncryption as EncryptionScheme>::PrivateKey: Send,
<<C as DPCComponents>::AccountEncryption as EncryptionScheme>::PrivateKey: Send,
impl<C> Sync for AccountViewKey<C> where
<<C as DPCComponents>::AccountEncryption as EncryptionScheme>::PrivateKey: Sync,
<<C as DPCComponents>::AccountEncryption as EncryptionScheme>::PrivateKey: Sync,
impl<C> Unpin for AccountViewKey<C> where
<<C as DPCComponents>::AccountEncryption as EncryptionScheme>::PrivateKey: Unpin,
<<C as DPCComponents>::AccountEncryption as EncryptionScheme>::PrivateKey: Unpin,
impl<C> UnwindSafe for AccountViewKey<C> where
<<C as DPCComponents>::AccountEncryption as EncryptionScheme>::PrivateKey: UnwindSafe,
<<C as DPCComponents>::AccountEncryption as EncryptionScheme>::PrivateKey: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,