pub struct MockCellDep {
pub cell_dep: CellDep,
pub output: CellOutput,
pub data: Bytes,
pub header: Option<Byte32>,
}
Expand description
Represents a cell dependency with its associated data and optional header.
Fields§
§cell_dep: CellDep
§output: CellOutput
§data: Bytes
§header: Option<Byte32>
Trait Implementations§
Source§impl Clone for MockCellDep
impl Clone for MockCellDep
Source§fn clone(&self) -> MockCellDep
fn clone(&self) -> MockCellDep
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 Default for MockCellDep
impl Default for MockCellDep
Source§fn default() -> MockCellDep
fn default() -> MockCellDep
Returns the “default value” for a type. 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 MockCellDep
impl RefUnwindSafe for MockCellDep
impl Send for MockCellDep
impl Sync for MockCellDep
impl Unpin for MockCellDep
impl UnwindSafe for MockCellDep
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
)