pub struct ReprMockCellDep {
pub cell_dep: CellDep,
pub output: CellOutput,
pub data: JsonBytes,
pub header: Option<H256>,
}
Fields§
§cell_dep: CellDep
§output: CellOutput
§data: JsonBytes
§header: Option<H256>
Trait Implementations§
Source§impl Clone for ReprMockCellDep
impl Clone for ReprMockCellDep
Source§fn clone(&self) -> ReprMockCellDep
fn clone(&self) -> ReprMockCellDep
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<'de> Deserialize<'de> for ReprMockCellDep
impl<'de> Deserialize<'de> for ReprMockCellDep
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 From<MockCellDep> for ReprMockCellDep
impl From<MockCellDep> for ReprMockCellDep
Source§fn from(dep: MockCellDep) -> ReprMockCellDep
fn from(dep: MockCellDep) -> ReprMockCellDep
Converts to this type from the input type.
Source§impl From<ReprMockCellDep> for MockCellDep
impl From<ReprMockCellDep> for MockCellDep
Source§fn from(dep: ReprMockCellDep) -> MockCellDep
fn from(dep: ReprMockCellDep) -> MockCellDep
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for ReprMockCellDep
impl RefUnwindSafe for ReprMockCellDep
impl Send for ReprMockCellDep
impl Sync for ReprMockCellDep
impl Unpin for ReprMockCellDep
impl UnwindSafe for ReprMockCellDep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)