Struct near_parameters::view::AccountCreationConfigView
source · pub struct AccountCreationConfigView {
pub min_allowed_top_level_account_length: u8,
pub registrar_account_id: AccountId,
}
Expand description
The structure describes configuration for creation of new accounts.
Fields§
§min_allowed_top_level_account_length: u8
The minimum length of the top-level account ID that is allowed to be created by any account.
registrar_account_id: AccountId
The account ID of the account registrar. This account ID allowed to create top-level accounts of any valid length.
Trait Implementations§
source§impl Clone for AccountCreationConfigView
impl Clone for AccountCreationConfigView
source§fn clone(&self) -> AccountCreationConfigView
fn clone(&self) -> AccountCreationConfigView
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 Debug for AccountCreationConfigView
impl Debug for AccountCreationConfigView
source§impl<'de> Deserialize<'de> for AccountCreationConfigView
impl<'de> Deserialize<'de> for AccountCreationConfigView
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AccountCreationConfigView
impl Send for AccountCreationConfigView
impl Sync for AccountCreationConfigView
impl Unpin for AccountCreationConfigView
impl UnwindSafe for AccountCreationConfigView
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