pub struct ContractValidationResult {
pub passed: bool,
pub errors: Vec<String>,
pub warnings: Vec<String>,
pub contract_details: Value,
}Expand description
Contract validation result
Fields§
§passed: boolWhether validation passed
errors: Vec<String>Validation errors
warnings: Vec<String>Validation warnings
contract_details: ValueContract details
Trait Implementations§
Source§impl Clone for ContractValidationResult
impl Clone for ContractValidationResult
Source§fn clone(&self) -> ContractValidationResult
fn clone(&self) -> ContractValidationResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContractValidationResult
impl Debug for ContractValidationResult
Source§impl<'de> Deserialize<'de> for ContractValidationResult
impl<'de> Deserialize<'de> for ContractValidationResult
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 Freeze for ContractValidationResult
impl RefUnwindSafe for ContractValidationResult
impl Send for ContractValidationResult
impl Sync for ContractValidationResult
impl Unpin for ContractValidationResult
impl UnsafeUnpin for ContractValidationResult
impl UnwindSafe for ContractValidationResult
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