Struct chain_impl_mockchain::testing::scenario::template::StakePoolDef
source · pub struct StakePoolDef {
pub alias: String,
pub permissions_threshold: Option<u8>,
pub has_reward_account: bool,
pub tax_type: Option<TaxType>,
}
Fields§
§alias: String
§permissions_threshold: Option<u8>
§has_reward_account: bool
§tax_type: Option<TaxType>
Implementations§
source§impl StakePoolDef
impl StakePoolDef
pub fn pool_permission(&self) -> Option<PoolPermissions>
Trait Implementations§
source§impl Clone for StakePoolDef
impl Clone for StakePoolDef
source§fn clone(&self) -> StakePoolDef
fn clone(&self) -> StakePoolDef
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 moreAuto Trait Implementations§
impl RefUnwindSafe for StakePoolDef
impl Send for StakePoolDef
impl Sync for StakePoolDef
impl Unpin for StakePoolDef
impl UnwindSafe for StakePoolDef
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