pub struct TeeApiWalletApprovalPackage {
pub tee_wallet_id: FixedBytes<32>,
pub api_wallet_address: WalletAddress,
pub api_wallet_name: String,
pub nonce: u64,
pub issued_at_ms: u64,
pub expires_at_ms: u64,
pub typed_data: Value,
}Expand description
Response of TEE_API_WALLET_APPROVAL_REQUEST_ROUTE.
Fields§
§tee_wallet_id: FixedBytes<32>Opaque TEE wallet identity. Echo it when submitting the signature.
api_wallet_address: WalletAddressHyperliquid API wallet address controlled by the TEE.
api_wallet_name: StringStable name registered for the API wallet on Hyperliquid.
nonce: u64Nonce of the EIP-712 approval payload. Copy it without modification.
issued_at_ms: u64Server issuance time encoded into nonce, as Unix milliseconds.
expires_at_ms: u64Last Unix millisecond at which the signed approval may be submitted.
typed_data: ValueEIP-712 HLAddApiWallet payload for the manager to sign.
Trait Implementations§
Source§impl Clone for TeeApiWalletApprovalPackage
impl Clone for TeeApiWalletApprovalPackage
Source§fn clone(&self) -> TeeApiWalletApprovalPackage
fn clone(&self) -> TeeApiWalletApprovalPackage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TeeApiWalletApprovalPackage
impl Debug for TeeApiWalletApprovalPackage
Source§impl<'de> Deserialize<'de> for TeeApiWalletApprovalPackage
impl<'de> Deserialize<'de> for TeeApiWalletApprovalPackage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TeeApiWalletApprovalPackage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TeeApiWalletApprovalPackage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TeeApiWalletApprovalPackage
impl Serialize for TeeApiWalletApprovalPackage
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
impl StructuralPartialEq for TeeApiWalletApprovalPackage
Auto Trait Implementations§
impl Forget for TeeApiWalletApprovalPackage
impl Freeze for TeeApiWalletApprovalPackage
impl Move for TeeApiWalletApprovalPackage
impl RefUnwindSafe for TeeApiWalletApprovalPackage
impl Send for TeeApiWalletApprovalPackage
impl Sync for TeeApiWalletApprovalPackage
impl Unpin for TeeApiWalletApprovalPackage
impl UnsafeUnpin for TeeApiWalletApprovalPackage
impl UnwindSafe for TeeApiWalletApprovalPackage
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
impl<'de, T> BorrowedRpcObject<'de> for T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more