pub struct ReprMockInput {
pub input: CellInput,
pub output: CellOutput,
pub data: JsonBytes,
pub header: Option<H256>,
}
Fields§
§input: CellInput
§output: CellOutput
§data: JsonBytes
§header: Option<H256>
Trait Implementations§
Source§impl Clone for ReprMockInput
impl Clone for ReprMockInput
Source§fn clone(&self) -> ReprMockInput
fn clone(&self) -> ReprMockInput
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 ReprMockInput
impl<'de> Deserialize<'de> for ReprMockInput
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<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 ReprMockInput
impl RefUnwindSafe for ReprMockInput
impl Send for ReprMockInput
impl Sync for ReprMockInput
impl Unpin for ReprMockInput
impl UnwindSafe for ReprMockInput
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
)