Struct clarinet_deployments::types::GenesisSpecification
source · pub struct GenesisSpecification {
pub wallets: Vec<WalletSpecification>,
pub contracts: Vec<String>,
}Fields§
§wallets: Vec<WalletSpecification>§contracts: Vec<String>Implementations§
source§impl GenesisSpecification
impl GenesisSpecification
pub fn from_specifications( specs: &GenesisSpecificationFile ) -> Result<GenesisSpecification, String>
pub fn to_specification_file(&self) -> GenesisSpecificationFile
Trait Implementations§
source§impl Clone for GenesisSpecification
impl Clone for GenesisSpecification
source§fn clone(&self) -> GenesisSpecification
fn clone(&self) -> GenesisSpecification
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 GenesisSpecification
impl Debug for GenesisSpecification
source§impl<'de> Deserialize<'de> for GenesisSpecification
impl<'de> Deserialize<'de> for GenesisSpecification
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
source§impl PartialEq<GenesisSpecification> for GenesisSpecification
impl PartialEq<GenesisSpecification> for GenesisSpecification
source§fn eq(&self, other: &GenesisSpecification) -> bool
fn eq(&self, other: &GenesisSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for GenesisSpecification
impl Serialize for GenesisSpecification
impl StructuralPartialEq for GenesisSpecification
Auto Trait Implementations§
impl RefUnwindSafe for GenesisSpecification
impl Send for GenesisSpecification
impl Sync for GenesisSpecification
impl Unpin for GenesisSpecification
impl UnwindSafe for GenesisSpecification
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