Struct starknet_accounts::RawLegacyDeclaration
source · pub struct RawLegacyDeclaration { /* private fields */ }Expand description
LegacyDeclaration but with nonce and max_fee already determined.
Implementations§
source§impl RawLegacyDeclaration
impl RawLegacyDeclaration
pub fn transaction_hash( &self, chain_id: FieldElement, address: FieldElement, query_only: bool ) -> Result<FieldElement, ComputeClassHashError>
pub fn contract_class(&self) -> &LegacyContractClass
pub fn nonce(&self) -> FieldElement
pub fn max_fee(&self) -> FieldElement
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RawLegacyDeclaration
impl Send for RawLegacyDeclaration
impl Sync for RawLegacyDeclaration
impl Unpin for RawLegacyDeclaration
impl UnwindSafe for RawLegacyDeclaration
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