pub struct ReprMockInfo {
pub inputs: Vec<ReprMockInput>,
pub cell_deps: Vec<ReprMockCellDep>,
pub header_deps: Vec<HeaderView>,
pub extensions: Vec<(H256, JsonBytes)>,
}
Fields§
§inputs: Vec<ReprMockInput>
§cell_deps: Vec<ReprMockCellDep>
§header_deps: Vec<HeaderView>
§extensions: Vec<(H256, JsonBytes)>
Trait Implementations§
Source§impl Clone for ReprMockInfo
impl Clone for ReprMockInfo
Source§fn clone(&self) -> ReprMockInfo
fn clone(&self) -> ReprMockInfo
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 ReprMockInfo
impl<'de> Deserialize<'de> for ReprMockInfo
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<MockInfo> for ReprMockInfo
impl From<MockInfo> for ReprMockInfo
Source§fn from(info: MockInfo) -> ReprMockInfo
fn from(info: MockInfo) -> ReprMockInfo
Converts to this type from the input type.
Source§impl From<ReprMockInfo> for MockInfo
impl From<ReprMockInfo> for MockInfo
Source§fn from(info: ReprMockInfo) -> MockInfo
fn from(info: ReprMockInfo) -> MockInfo
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReprMockInfo
impl RefUnwindSafe for ReprMockInfo
impl Send for ReprMockInfo
impl Sync for ReprMockInfo
impl Unpin for ReprMockInfo
impl UnwindSafe for ReprMockInfo
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
)