pub enum PlatformTwapPrepareRequest {
Authorized(PlatformTwapPrepareAuthorization),
Direct(PlatformTwapChallengeRequest),
}Expand description
Prepare a TWAP-control transaction: a signed challenge (Authorized) or
the action itself (Direct, one signature — the transaction signature is
the authorization). The response is identical.
Variants§
Authorized(PlatformTwapPrepareAuthorization)
Direct(PlatformTwapChallengeRequest)
Trait Implementations§
Source§impl Clone for PlatformTwapPrepareRequest
impl Clone for PlatformTwapPrepareRequest
Source§fn clone(&self) -> PlatformTwapPrepareRequest
fn clone(&self) -> PlatformTwapPrepareRequest
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 PlatformTwapPrepareRequest
impl Debug for PlatformTwapPrepareRequest
Source§impl<'de> Deserialize<'de> for PlatformTwapPrepareRequest
impl<'de> Deserialize<'de> for PlatformTwapPrepareRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformTwapPrepareRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformTwapPrepareRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformTwapPrepareRequest
Source§impl Serialize for PlatformTwapPrepareRequest
impl Serialize for PlatformTwapPrepareRequest
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 PlatformTwapPrepareRequest
Auto Trait Implementations§
impl Freeze for PlatformTwapPrepareRequest
impl RefUnwindSafe for PlatformTwapPrepareRequest
impl Send for PlatformTwapPrepareRequest
impl Sync for PlatformTwapPrepareRequest
impl Unpin for PlatformTwapPrepareRequest
impl UnsafeUnpin for PlatformTwapPrepareRequest
impl UnwindSafe for PlatformTwapPrepareRequest
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