pub struct DeploymentSpecification {
pub id: u32,
pub name: String,
pub network: StacksNetwork,
pub stacks_node: Option<String>,
pub bitcoin_node: Option<String>,
pub genesis: Option<GenesisSpecification>,
pub plan: TransactionPlanSpecification,
pub contracts: BTreeMap<QualifiedContractIdentifier, (String, FileLocation)>,
}Fields§
§id: u32§name: String§network: StacksNetwork§stacks_node: Option<String>§bitcoin_node: Option<String>§genesis: Option<GenesisSpecification>§plan: TransactionPlanSpecification§contracts: BTreeMap<QualifiedContractIdentifier, (String, FileLocation)>Implementations§
source§impl DeploymentSpecification
impl DeploymentSpecification
pub fn from_config_file( deployment_location: &FileLocation, project_root_location: &FileLocation ) -> Result<DeploymentSpecification, String>
pub fn from_specifications( specs: &DeploymentSpecificationFile, network: &StacksNetwork, project_root_location: &FileLocation ) -> Result<DeploymentSpecification, String>
pub fn to_specification_file(&self) -> DeploymentSpecificationFile
Trait Implementations§
source§impl Clone for DeploymentSpecification
impl Clone for DeploymentSpecification
source§fn clone(&self) -> DeploymentSpecification
fn clone(&self) -> DeploymentSpecification
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 DeploymentSpecification
impl Debug for DeploymentSpecification
source§impl<'de> Deserialize<'de> for DeploymentSpecification
impl<'de> Deserialize<'de> for DeploymentSpecification
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 DeploymentSpecification
impl Send for DeploymentSpecification
impl Sync for DeploymentSpecification
impl Unpin for DeploymentSpecification
impl UnwindSafe for DeploymentSpecification
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