Struct ckb_jsonrpc_types::EstimateCycles
source · pub struct EstimateCycles {
pub cycles: Cycle,
}
Expand description
Response result of the RPC method estimate_cycles
.
Fields§
§cycles: Cycle
The count of cycles that the VM has consumed to verify this transaction.
Trait Implementations§
source§impl Clone for EstimateCycles
impl Clone for EstimateCycles
source§fn clone(&self) -> EstimateCycles
fn clone(&self) -> EstimateCycles
Returns a copy 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 EstimateCycles
impl Debug for EstimateCycles
source§impl Default for EstimateCycles
impl Default for EstimateCycles
source§fn default() -> EstimateCycles
fn default() -> EstimateCycles
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EstimateCycles
impl<'de> Deserialize<'de> for EstimateCycles
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 Hash for EstimateCycles
impl Hash for EstimateCycles
source§impl PartialEq for EstimateCycles
impl PartialEq for EstimateCycles
source§fn eq(&self, other: &EstimateCycles) -> bool
fn eq(&self, other: &EstimateCycles) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EstimateCycles
impl Serialize for EstimateCycles
impl Eq for EstimateCycles
impl StructuralEq for EstimateCycles
impl StructuralPartialEq for EstimateCycles
Auto Trait Implementations§
impl RefUnwindSafe for EstimateCycles
impl Send for EstimateCycles
impl Sync for EstimateCycles
impl Unpin for EstimateCycles
impl UnwindSafe for EstimateCycles
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