Enum ckb_sdk::rpc::ckb_indexer::ScriptType
source · pub enum ScriptType {
Lock,
Type,
}Variants
Lock
Type
Trait Implementations
sourceimpl Clone for ScriptType
impl Clone for ScriptType
sourcefn clone(&self) -> ScriptType
fn clone(&self) -> ScriptType
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 moresourceimpl Debug for ScriptType
impl Debug for ScriptType
sourceimpl<'de> Deserialize<'de> for ScriptType
impl<'de> Deserialize<'de> for ScriptType
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 From<PrimaryScriptType> for ScriptType
impl From<PrimaryScriptType> for ScriptType
sourcefn from(t: PrimaryScriptType) -> ScriptType
fn from(t: PrimaryScriptType) -> ScriptType
Converts to this type from the input type.
sourceimpl Serialize for ScriptType
impl Serialize for ScriptType
Auto Trait Implementations
impl RefUnwindSafe for ScriptType
impl Send for ScriptType
impl Sync for ScriptType
impl Unpin for ScriptType
impl UnwindSafe for ScriptType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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