pub struct SemanticContractEvidence {
pub relation: SemanticContractRelation,
pub declaration: SemanticSymbol,
pub optional: bool,
}Expand description
Exact declaration evidence for an inherited or implemented class-member relation.
Fields§
§relation: SemanticContractRelationContract relation that makes deletion unsafe.
declaration: SemanticSymbolExact interface or base-class declaration.
optional: boolWhether the source contract marks this member optional.
Trait Implementations§
Source§impl Clone for SemanticContractEvidence
impl Clone for SemanticContractEvidence
Source§impl Debug for SemanticContractEvidence
impl Debug for SemanticContractEvidence
Source§impl<'de> Deserialize<'de> for SemanticContractEvidence
impl<'de> Deserialize<'de> for SemanticContractEvidence
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
impl Eq for SemanticContractEvidence
Source§impl PartialEq for SemanticContractEvidence
impl PartialEq for SemanticContractEvidence
Source§impl Serialize for SemanticContractEvidence
impl Serialize for SemanticContractEvidence
impl StructuralPartialEq for SemanticContractEvidence
Auto Trait Implementations§
impl Freeze for SemanticContractEvidence
impl RefUnwindSafe for SemanticContractEvidence
impl Send for SemanticContractEvidence
impl Sync for SemanticContractEvidence
impl Unpin for SemanticContractEvidence
impl UnsafeUnpin for SemanticContractEvidence
impl UnwindSafe for SemanticContractEvidence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.