Struct sov_accounts::AccountConfig
source · pub struct AccountConfig<C: Context> {
pub pub_keys: Vec<C::PublicKey>,
}
Expand description
Initial configuration for sov-accounts module.
Fields§
§pub_keys: Vec<C::PublicKey>
Public keys to initialize the rollup.
Trait Implementations§
source§impl<C: Clone + Context> Clone for AccountConfig<C>where
C::PublicKey: Clone,
impl<C: Clone + Context> Clone for AccountConfig<C>where C::PublicKey: Clone,
source§fn clone(&self) -> AccountConfig<C>
fn clone(&self) -> AccountConfig<C>
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<C: Context> FromIterator<<C as Spec>::PublicKey> for AccountConfig<C>
impl<C: Context> FromIterator<<C as Spec>::PublicKey> for AccountConfig<C>
source§impl<C: PartialEq + Context> PartialEq<AccountConfig<C>> for AccountConfig<C>where
C::PublicKey: PartialEq,
impl<C: PartialEq + Context> PartialEq<AccountConfig<C>> for AccountConfig<C>where C::PublicKey: PartialEq,
source§fn eq(&self, other: &AccountConfig<C>) -> bool
fn eq(&self, other: &AccountConfig<C>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<C: Eq + Context> Eq for AccountConfig<C>where C::PublicKey: Eq,
impl<C: Context> StructuralEq for AccountConfig<C>
impl<C: Context> StructuralPartialEq for AccountConfig<C>
Auto Trait Implementations§
impl<C> RefUnwindSafe for AccountConfig<C>where <C as Spec>::PublicKey: RefUnwindSafe,
impl<C> Send for AccountConfig<C>
impl<C> Sync for AccountConfig<C>
impl<C> Unpin for AccountConfig<C>where <C as Spec>::PublicKey: Unpin,
impl<C> UnwindSafe for AccountConfig<C>where <C as Spec>::PublicKey: 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