pub struct DeclaredParamMismatch {
pub node: &'static str,
pub contract: &'static str,
pub declared: Option<ParameterType>,
}Expand description
A declaration the contract does not make.
Fields§
§node: &'static strThe node’s FQN, as the contract keys it.
contract: &'static strThe contract the node’s parameters are declared in.
declared: Option<ParameterType>What the contract declares the name as; None when it does not
declare the name at all.
Trait Implementations§
Source§impl Clone for DeclaredParamMismatch
impl Clone for DeclaredParamMismatch
Source§fn clone(&self) -> DeclaredParamMismatch
fn clone(&self) -> DeclaredParamMismatch
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 moreimpl Copy for DeclaredParamMismatch
Source§impl Debug for DeclaredParamMismatch
impl Debug for DeclaredParamMismatch
impl Eq for DeclaredParamMismatch
Source§impl PartialEq for DeclaredParamMismatch
impl PartialEq for DeclaredParamMismatch
impl StructuralPartialEq for DeclaredParamMismatch
Auto Trait Implementations§
impl Freeze for DeclaredParamMismatch
impl RefUnwindSafe for DeclaredParamMismatch
impl Send for DeclaredParamMismatch
impl Sync for DeclaredParamMismatch
impl Unpin for DeclaredParamMismatch
impl UnsafeUnpin for DeclaredParamMismatch
impl UnwindSafe for DeclaredParamMismatch
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