pub struct FakeCall {
pub call_type: FakeCallType,
pub create_scheme: Option<CreateContractAddress>,
pub gas: U256,
pub sender_address: Option<Address>,
pub receive_address: Option<Address>,
pub value: Option<U256>,
pub data: Bytes,
pub code_address: Option<Address>,
}
Fields
call_type: FakeCallType
create_scheme: Option<CreateContractAddress>
gas: U256
sender_address: Option<Address>
receive_address: Option<Address>
value: Option<U256>
data: Bytes
code_address: Option<Address>
Trait Implementations
impl Eq for FakeCall
impl StructuralEq for FakeCall
impl StructuralPartialEq for FakeCall
Auto Trait Implementations
impl RefUnwindSafe for FakeCall
impl Send for FakeCall
impl Sync for FakeCall
impl Unpin for FakeCall
impl UnwindSafe for FakeCall
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more