Struct ckb_jsonrpc_types::DryRunResult
source · [−]pub struct DryRunResult {
pub cycles: Cycle,
}
Expand description
Response result of the RPC method dry_run_transaction
.
Fields
cycles: Cycle
The count of cycles that the VM has consumed to verify this transaction.
Trait Implementations
sourceimpl Clone for DryRunResult
impl Clone for DryRunResult
sourcefn clone(&self) -> DryRunResult
fn clone(&self) -> DryRunResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DryRunResult
impl Debug for DryRunResult
sourceimpl Default for DryRunResult
impl Default for DryRunResult
sourcefn default() -> DryRunResult
fn default() -> DryRunResult
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DryRunResult
impl<'de> Deserialize<'de> for DryRunResult
sourcefn 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
sourceimpl Hash for DryRunResult
impl Hash for DryRunResult
sourceimpl PartialEq<DryRunResult> for DryRunResult
impl PartialEq<DryRunResult> for DryRunResult
sourcefn eq(&self, other: &DryRunResult) -> bool
fn eq(&self, other: &DryRunResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DryRunResult) -> bool
fn ne(&self, other: &DryRunResult) -> bool
This method tests for !=
.
sourceimpl Serialize for DryRunResult
impl Serialize for DryRunResult
impl Eq for DryRunResult
impl StructuralEq for DryRunResult
impl StructuralPartialEq for DryRunResult
Auto Trait Implementations
impl RefUnwindSafe for DryRunResult
impl Send for DryRunResult
impl Sync for DryRunResult
impl Unpin for DryRunResult
impl UnwindSafe for DryRunResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more