pub struct CallEntryPoint {
pub class_hash: Option<ClassHash>,
pub entry_point_type: EntryPointType,
pub entry_point_selector: EntryPointSelector,
pub contract_address: ContractAddress,
pub call_type: CallType,
pub contract_name: Option<String>,
pub function_name: Option<String>,
pub calldata_len: Option<usize>,
pub events_summary: Option<Vec<SummedUpEvent>>,
pub signature_len: Option<usize>,
}Fields§
§class_hash: Option<ClassHash>§entry_point_type: EntryPointType§entry_point_selector: EntryPointSelector§contract_address: ContractAddress§call_type: CallType§contract_name: Option<String>Contract name to display instead of contract address
function_name: Option<String>Function name to display instead of entry point selector
calldata_len: Option<usize>Calldata length to use for syscall cost estimation
Present for snforge >= 0.48.0.
events_summary: Option<Vec<SummedUpEvent>>Events information to use for l2 gas cost estimation
Present for snforge >= 0.49.0
signature_len: Option<usize>Signature length to use for l2 gas cost estimation
Present for snforge >= 0.49.0
Trait Implementations§
Source§impl Clone for CallEntryPoint
impl Clone for CallEntryPoint
Source§fn clone(&self) -> CallEntryPoint
fn clone(&self) -> CallEntryPoint
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 CallEntryPoint
impl Debug for CallEntryPoint
Source§impl Default for CallEntryPoint
impl Default for CallEntryPoint
Source§fn default() -> CallEntryPoint
fn default() -> CallEntryPoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallEntryPoint
impl<'de> Deserialize<'de> for CallEntryPoint
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 PartialEq for CallEntryPoint
impl PartialEq for CallEntryPoint
Source§impl Serialize for CallEntryPoint
impl Serialize for CallEntryPoint
impl Eq for CallEntryPoint
impl StructuralPartialEq for CallEntryPoint
Auto Trait Implementations§
impl Freeze for CallEntryPoint
impl RefUnwindSafe for CallEntryPoint
impl Send for CallEntryPoint
impl Sync for CallEntryPoint
impl Unpin for CallEntryPoint
impl UnwindSafe for CallEntryPoint
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