pub struct EntryPointState {
pub address: String,
pub block_number: u128,
pub block_timestamp: u128,
pub authenticated_caller: String,
}Expand description
EntryPoint contract state.
Fields§
§address: StringEntryPoint address.
block_number: u128Current block number.
block_timestamp: u128Current block timestamp.
authenticated_caller: StringAuthenticated caller (msg.sender during handleOps).
Trait Implementations§
Source§impl Clone for EntryPointState
impl Clone for EntryPointState
Source§fn clone(&self) -> EntryPointState
fn clone(&self) -> EntryPointState
Returns a duplicate 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 Debug for EntryPointState
impl Debug for EntryPointState
Source§impl<'de> Deserialize<'de> for EntryPointState
impl<'de> Deserialize<'de> for EntryPointState
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
Auto Trait Implementations§
impl Freeze for EntryPointState
impl RefUnwindSafe for EntryPointState
impl Send for EntryPointState
impl Sync for EntryPointState
impl Unpin for EntryPointState
impl UnsafeUnpin for EntryPointState
impl UnwindSafe for EntryPointState
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