Struct ckb_chain_spec::SystemCell
source · [−]Expand description
The system cell information
Fields
create_type_id: boolwhether crate type script
capacity: Option<u64>Overwrite the cell capacity. Set to None to use the minimal capacity.
file: ResourceThe file resource
Trait Implementations
sourceimpl Clone for SystemCell
impl Clone for SystemCell
sourcefn clone(&self) -> SystemCell
fn clone(&self) -> SystemCell
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 more
sourceimpl Debug for SystemCell
impl Debug for SystemCell
sourceimpl<'de> Deserialize<'de> for SystemCell
impl<'de> Deserialize<'de> for SystemCell
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 PartialEq<SystemCell> for SystemCell
impl PartialEq<SystemCell> for SystemCell
sourcefn eq(&self, other: &SystemCell) -> bool
fn eq(&self, other: &SystemCell) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SystemCell) -> bool
fn ne(&self, other: &SystemCell) -> bool
This method tests for !=.
sourceimpl Serialize for SystemCell
impl Serialize for SystemCell
impl Eq for SystemCell
impl StructuralEq for SystemCell
impl StructuralPartialEq for SystemCell
Auto Trait Implementations
impl RefUnwindSafe for SystemCell
impl Send for SystemCell
impl Sync for SystemCell
impl Unpin for SystemCell
impl UnwindSafe for SystemCell
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more