pub struct ContractConfig {
pub path: String,
pub deploy_after: Vec<String>,
pub depends_on: Vec<String>,
}Expand description
Settings for a specific contract in a workspace.
Fields§
§path: StringPath to the contract source directory (where Cargo.toml resides).
deploy_after: Vec<String>Optional list of contract aliases that must be deployed before this one.
(deploy_after is the original spelling; depends_on is the canonical
4.2 field. Both are accepted and merged during resolution.)
depends_on: Vec<String>Canonical 4.2 dependency declaration. Semantically identical to
deploy_after; listed here for explicit package-dependency graphs.
Trait Implementations§
Source§impl Clone for ContractConfig
impl Clone for ContractConfig
Source§impl Debug for ContractConfig
impl Debug for ContractConfig
Source§impl<'de> Deserialize<'de> for ContractConfig
impl<'de> Deserialize<'de> for ContractConfig
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 for ContractConfig
impl PartialEq for ContractConfig
Source§impl Serialize for ContractConfig
impl Serialize for ContractConfig
impl StructuralPartialEq for ContractConfig
Auto Trait Implementations§
impl Freeze for ContractConfig
impl RefUnwindSafe for ContractConfig
impl Send for ContractConfig
impl Sync for ContractConfig
impl Unpin for ContractConfig
impl UnsafeUnpin for ContractConfig
impl UnwindSafe for ContractConfig
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