Struct clarinet_files::ProjectManifest
source · pub struct ProjectManifest {
pub project: ProjectConfig,
pub contracts: BTreeMap<String, ClarityContract>,
pub repl_settings: Settings,
pub location: FileLocation,
pub contracts_settings: HashMap<FileLocation, ClarityContractMetadata>,
}Fields§
§project: ProjectConfig§contracts: BTreeMap<String, ClarityContract>§repl_settings: Settings§location: FileLocation§contracts_settings: HashMap<FileLocation, ClarityContractMetadata>Implementations§
source§impl ProjectManifest
impl ProjectManifest
pub async fn from_file_accessor( location: &FileLocation, file_accessor: &dyn FileAccessor ) -> Result<ProjectManifest, String>
pub fn from_location(location: &FileLocation) -> Result<ProjectManifest, String>
pub fn from_project_manifest_file( project_manifest_file: ProjectManifestFile, manifest_location: &FileLocation ) -> Result<ProjectManifest, String>
Trait Implementations§
source§impl Clone for ProjectManifest
impl Clone for ProjectManifest
source§fn clone(&self) -> ProjectManifest
fn clone(&self) -> ProjectManifest
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 ProjectManifest
impl Debug for ProjectManifest
source§impl<'de> Deserialize<'de> for ProjectManifest
impl<'de> Deserialize<'de> for ProjectManifest
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 ProjectManifest
impl Send for ProjectManifest
impl Sync for ProjectManifest
impl Unpin for ProjectManifest
impl UnwindSafe for ProjectManifest
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