pub struct CompressedLegacyContractClass {
pub program: Vec<u8>,
pub entry_points_by_type: RawLegacyEntryPoints,
pub abi: Option<Vec<RawLegacyAbiEntry>>,
}Expand description
This type exists because of an offset issue. Without this type declaration of pre 0.11.0
contracts against the sequencer gateway won’t function properly.
Fields§
§program: Vec<u8>§entry_points_by_type: RawLegacyEntryPoints§abi: Option<Vec<RawLegacyAbiEntry>>Trait Implementations§
Source§impl Clone for CompressedLegacyContractClass
impl Clone for CompressedLegacyContractClass
Source§fn clone(&self) -> CompressedLegacyContractClass
fn clone(&self) -> CompressedLegacyContractClass
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 From<CompressedLegacyContractClass> for CompressedLegacyContractClass
impl From<CompressedLegacyContractClass> for CompressedLegacyContractClass
Source§fn from(value: CompressedLegacyContractClass) -> CompressedLegacyContractClass
fn from(value: CompressedLegacyContractClass) -> CompressedLegacyContractClass
Converts to this type from the input type.
Source§impl Serialize for CompressedLegacyContractClass
impl Serialize for CompressedLegacyContractClass
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CompressedLegacyContractClass
impl RefUnwindSafe for CompressedLegacyContractClass
impl Send for CompressedLegacyContractClass
impl Sync for CompressedLegacyContractClass
impl Unpin for CompressedLegacyContractClass
impl UnwindSafe for CompressedLegacyContractClass
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