Enum ckb_script::ScriptGroupType 
source · pub enum ScriptGroupType {
    Lock,
    Type,
}Expand description
The script group type.
A cell can have a lock script and an optional type script. Even they reference the same script, lock script and type script will not be grouped together.
Variants§
Trait Implementations§
source§impl Clone for ScriptGroupType
 
impl Clone for ScriptGroupType
source§fn clone(&self) -> ScriptGroupType
 
fn clone(&self) -> ScriptGroupType
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 ScriptGroupType
 
impl Debug for ScriptGroupType
source§impl<'de> Deserialize<'de> for ScriptGroupType
 
impl<'de> Deserialize<'de> for ScriptGroupType
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 Display for ScriptGroupType
 
impl Display for ScriptGroupType
source§impl Hash for ScriptGroupType
 
impl Hash for ScriptGroupType
source§impl PartialEq for ScriptGroupType
 
impl PartialEq for ScriptGroupType
source§fn eq(&self, other: &ScriptGroupType) -> bool
 
fn eq(&self, other: &ScriptGroupType) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for ScriptGroupType
 
impl Serialize for ScriptGroupType
impl Copy for ScriptGroupType
impl Eq for ScriptGroupType
impl StructuralPartialEq for ScriptGroupType
Auto Trait Implementations§
impl RefUnwindSafe for ScriptGroupType
impl Send for ScriptGroupType
impl Sync for ScriptGroupType
impl Unpin for ScriptGroupType
impl UnwindSafe for ScriptGroupType
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