pub struct MockInput {
pub input: CellInput,
pub output: CellOutput,
pub data: Bytes,
pub header: Option<Byte32>,
}
Expand description
Represents a transaction input with its associated data and optional header.
Fields§
§input: CellInput
§output: CellOutput
§data: Bytes
§header: Option<Byte32>
Trait Implementations§
Source§impl From<MockInput> for ReprMockInput
impl From<MockInput> for ReprMockInput
Source§fn from(input: MockInput) -> ReprMockInput
fn from(input: MockInput) -> ReprMockInput
Converts to this type from the input type.
Source§impl From<ReprMockInput> for MockInput
impl From<ReprMockInput> for MockInput
Source§fn from(input: ReprMockInput) -> MockInput
fn from(input: ReprMockInput) -> MockInput
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for MockInput
impl RefUnwindSafe for MockInput
impl Send for MockInput
impl Sync for MockInput
impl Unpin for MockInput
impl UnwindSafe for MockInput
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
)