pub struct Property<AccountId> {
pub predicate_address: AccountId,
pub inputs: Vec<Vec<u8, Global>, Global>,
}
Expand description
Property stands for dispute logic and we can claim every Properties to Adjudicator Contract.
Property has its predicate address and array of input.
Indicates the address of Predicate.
Every input are bytes. Each Atomic Predicate decode inputs to the specific type.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Attempt to deserialise the value from input.
Attempt to skip the encoded value from input. Read more
Returns the fixed encoded size of the type. Read more
Returns the “default value” for a type. Read more
pub fn encode_to<__CodecOutputEdqy>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
) where
__CodecOutputEdqy: Output + ?Sized,
Convert self to a slice and append it to the destination.
If possible give a hint of expected size of the encoding. Read more
Convert self to an owned vector.
Convert self to a slice and then invoke the given closure with it.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<AccountId> Eq for Property<AccountId> where
AccountId: Eq,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Convert from a value of T
into an equivalent instance of Option<Self>
. Read more
Consume self to return Some
equivalent value of Option<T>
. Read more
True iff no bits are set.
Return the value of Self that is clear.
Decode Self
and consume all of the given input data. Read more
Decode Self
and consume all of the given input data. Read more
Decode Self
with the given maximum recursion depth. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the current Span
, returning an
Instrumented
wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
Get a reference to the inner from the outer.
Get a mutable reference to the inner from the outer.
Return an encoding of Self
prepended by given slice.
Convert from a value of T
into an equivalent instance of Self
. Read more
Consume self to return an equivalent value of T
. Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
The counterpart to unchecked_from
.
Consume self to return an equivalent value of T
.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,