Enum ckb_sdk::tx_builder::TransferAction
source · pub enum TransferAction {
Create,
Update,
}Variants§
Create
This action will crate a new cell, typecial lock script: cheque, sighash, multisig
Update
This action will query the exists cell and update the amount, typecial lock script: acp
Trait Implementations§
source§impl Clone for TransferAction
impl Clone for TransferAction
source§fn clone(&self) -> TransferAction
fn clone(&self) -> TransferAction
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 TransferAction
impl Debug for TransferAction
source§impl Hash for TransferAction
impl Hash for TransferAction
source§impl PartialEq<TransferAction> for TransferAction
impl PartialEq<TransferAction> for TransferAction
source§fn eq(&self, other: &TransferAction) -> bool
fn eq(&self, other: &TransferAction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TransferAction
impl StructuralEq for TransferAction
impl StructuralPartialEq for TransferAction
Auto Trait Implementations§
impl RefUnwindSafe for TransferAction
impl Send for TransferAction
impl Sync for TransferAction
impl Unpin for TransferAction
impl UnwindSafe for TransferAction
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.