pub struct PlatformVaultPolicyPrepareResponse {
pub schema_version: u16,
pub contract_version: String,
pub server_time_ms: u64,
pub wallet_address: String,
pub withdrawal_access: PlatformVaultWithdrawalAccess,
pub transaction_base64: String,
pub recent_blockhash: String,
pub owner_signature_required: bool,
pub preparation_id: String,
pub sponsored: bool,
pub submit_by_ms: u64,
}Expand description
An owner-bound withdrawal-access change. Unrestricted access is a status state rather than a preparable action in this contract.
Fields§
§schema_version: u16§contract_version: String§server_time_ms: u64§wallet_address: String§withdrawal_access: PlatformVaultWithdrawalAccess§transaction_base64: String§recent_blockhash: String§owner_signature_required: bool§preparation_id: StringOpaque handle for this prepared transaction. Hand it back with the
owner-signed transaction to vault.relay and Strata submits it — no
RPC or SOL needed on the owner side.
sponsored: booltrue when Strata is the transaction fee payer and covers any rent the
action creates, so the owner needs no SOL at all. false means the
owner wallet is the fee payer (Strata still submits it on request).
submit_by_ms: u64The prepared transaction must be submitted before this server time.
Trait Implementations§
Source§impl Clone for PlatformVaultPolicyPrepareResponse
impl Clone for PlatformVaultPolicyPrepareResponse
Source§fn clone(&self) -> PlatformVaultPolicyPrepareResponse
fn clone(&self) -> PlatformVaultPolicyPrepareResponse
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<'de> Deserialize<'de> for PlatformVaultPolicyPrepareResponse
impl<'de> Deserialize<'de> for PlatformVaultPolicyPrepareResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultPolicyPrepareResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultPolicyPrepareResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformVaultPolicyPrepareResponse
Source§impl Serialize for PlatformVaultPolicyPrepareResponse
impl Serialize for PlatformVaultPolicyPrepareResponse
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 PlatformVaultPolicyPrepareResponse
Auto Trait Implementations§
impl Freeze for PlatformVaultPolicyPrepareResponse
impl RefUnwindSafe for PlatformVaultPolicyPrepareResponse
impl Send for PlatformVaultPolicyPrepareResponse
impl Sync for PlatformVaultPolicyPrepareResponse
impl Unpin for PlatformVaultPolicyPrepareResponse
impl UnsafeUnpin for PlatformVaultPolicyPrepareResponse
impl UnwindSafe for PlatformVaultPolicyPrepareResponse
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