pub struct PredicateABI {
pub name: String,
pub params: Vec<ParamABI>,
}Expand description
A predicate in a contract that has a name and a list of parameters
Fields§
§name: String§params: Vec<ParamABI>Trait Implementations§
Source§impl Clone for PredicateABI
impl Clone for PredicateABI
Source§fn clone(&self) -> PredicateABI
fn clone(&self) -> PredicateABI
Returns a duplicate 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 PredicateABI
impl Debug for PredicateABI
Source§impl<'de> Deserialize<'de> for PredicateABI
impl<'de> Deserialize<'de> for PredicateABI
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 PredicateABI
impl PartialEq for PredicateABI
Source§impl Serialize for PredicateABI
impl Serialize for PredicateABI
impl Eq for PredicateABI
impl StructuralPartialEq for PredicateABI
Auto Trait Implementations§
impl Freeze for PredicateABI
impl RefUnwindSafe for PredicateABI
impl Send for PredicateABI
impl Sync for PredicateABI
impl Unpin for PredicateABI
impl UnwindSafe for PredicateABI
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