Struct clarity_repl::repl::ClarityContract
source · pub struct ClarityContract {
pub code_source: ClarityCodeSource,
pub name: String,
pub deployer: ContractDeployer,
pub clarity_version: ClarityVersion,
pub epoch: StacksEpochId,
}Fields§
§code_source: ClarityCodeSource§name: String§deployer: ContractDeployer§clarity_version: ClarityVersion§epoch: StacksEpochIdImplementations§
source§impl ClarityContract
impl ClarityContract
pub fn expect_in_memory_code_source(&self) -> &str
pub fn expect_contract_path_as_str(&self) -> &str
pub fn expect_resolved_contract_identifier( &self, default_deployer: Option<&StandardPrincipalData> ) -> QualifiedContractIdentifier
Trait Implementations§
source§impl Clone for ClarityContract
impl Clone for ClarityContract
source§fn clone(&self) -> ClarityContract
fn clone(&self) -> ClarityContract
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 ClarityContract
impl Debug for ClarityContract
source§impl<'de> Deserialize<'de> for ClarityContract
impl<'de> Deserialize<'de> for ClarityContract
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 Display for ClarityContract
impl Display for ClarityContract
Auto Trait Implementations§
impl RefUnwindSafe for ClarityContract
impl Send for ClarityContract
impl Sync for ClarityContract
impl Unpin for ClarityContract
impl UnwindSafe for ClarityContract
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