pub struct MockInfo {
pub inputs: Vec<MockInput>,
pub cell_deps: Vec<MockCellDep>,
pub header_deps: Vec<HeaderView>,
pub extensions: Vec<(Byte32, Bytes)>,
}
Expand description
Aggregates multiple MockInput and MockCellDep instances, along with header dependencies and extensions.
Fields§
§inputs: Vec<MockInput>
§cell_deps: Vec<MockCellDep>
§header_deps: Vec<HeaderView>
§extensions: Vec<(Byte32, Bytes)>
Trait Implementations§
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 MockInfo
impl RefUnwindSafe for MockInfo
impl Send for MockInfo
impl Sync for MockInfo
impl Unpin for MockInfo
impl UnwindSafe for MockInfo
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
)