Struct ckb_jsonrpc_types::CellInput
source · pub struct CellInput {
pub since: Uint64,
pub previous_output: OutPoint,
}
Expand description
The input cell of a transaction.
Examples
{
"previous_output": {
"index": "0x0",
"tx_hash": "0x365698b50ca0da75dca2c87f9e7b563811d3b5813736b8cc62cc3b106faceb17"
},
"since": "0x0"
}
Fields§
§since: Uint64
Restrict when the transaction can be committed into the chain.
See the RFC Transaction valid since.
previous_output: OutPoint
Reference to the input cell.
Trait Implementations§
source§impl<'de> Deserialize<'de> for CellInput
impl<'de> Deserialize<'de> for CellInput
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 CellInput
impl PartialEq for CellInput
impl Eq for CellInput
impl StructuralEq for CellInput
impl StructuralPartialEq for CellInput
Auto Trait Implementations§
impl RefUnwindSafe for CellInput
impl Send for CellInput
impl Sync for CellInput
impl Unpin for CellInput
impl UnwindSafe for CellInput
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