Struct starknet_core::types::LegacyContractEntryPoint
source · pub struct LegacyContractEntryPoint {
pub offset: u64,
pub selector: FieldElement,
}Expand description
Deprecated cairo entry point.
Fields§
§offset: u64The offset of the entry point in the program
selector: FieldElementA unique identifier of the entry point (function) in the program
Trait Implementations§
source§impl Clone for LegacyContractEntryPoint
impl Clone for LegacyContractEntryPoint
source§fn clone(&self) -> LegacyContractEntryPoint
fn clone(&self) -> LegacyContractEntryPoint
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 Debug for LegacyContractEntryPoint
impl Debug for LegacyContractEntryPoint
source§impl<'de> Deserialize<'de> for LegacyContractEntryPoint
impl<'de> Deserialize<'de> for LegacyContractEntryPoint
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<RawLegacyEntryPoint> for LegacyContractEntryPoint
impl From<RawLegacyEntryPoint> for LegacyContractEntryPoint
source§fn from(value: RawLegacyEntryPoint) -> Self
fn from(value: RawLegacyEntryPoint) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for LegacyContractEntryPoint
impl Send for LegacyContractEntryPoint
impl Sync for LegacyContractEntryPoint
impl Unpin for LegacyContractEntryPoint
impl UnwindSafe for LegacyContractEntryPoint
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