pub struct PlatformVaultSessionStatus {
pub session_public_key: String,
pub state: PlatformVaultSessionState,
pub expires_at_ms: Option<u64>,
pub permanent: bool,
pub minimum_interval_seconds: u32,
pub maximum_tolerance_bps: u16,
pub last_execution_at_ms: Option<u64>,
pub market_execution_ready: bool,
pub price_protection_active: bool,
pub spending_limits: Vec<PlatformVaultSpendingLimit>,
}Expand description
Sanitized state for the requested external session key. It intentionally omits all construction accounts and price-source identities.
Fields§
§session_public_key: String§state: PlatformVaultSessionState§expires_at_ms: Option<u64>§permanent: bool§minimum_interval_seconds: u32§maximum_tolerance_bps: u16§last_execution_at_ms: Option<u64>§market_execution_ready: bool§price_protection_active: bool§spending_limits: Vec<PlatformVaultSpendingLimit>Trait Implementations§
Source§impl Clone for PlatformVaultSessionStatus
impl Clone for PlatformVaultSessionStatus
Source§fn clone(&self) -> PlatformVaultSessionStatus
fn clone(&self) -> PlatformVaultSessionStatus
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 PlatformVaultSessionStatus
impl Debug for PlatformVaultSessionStatus
Source§impl<'de> Deserialize<'de> for PlatformVaultSessionStatus
impl<'de> Deserialize<'de> for PlatformVaultSessionStatus
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultSessionStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformVaultSessionStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformVaultSessionStatus
Source§impl Serialize for PlatformVaultSessionStatus
impl Serialize for PlatformVaultSessionStatus
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 PlatformVaultSessionStatus
Auto Trait Implementations§
impl Freeze for PlatformVaultSessionStatus
impl RefUnwindSafe for PlatformVaultSessionStatus
impl Send for PlatformVaultSessionStatus
impl Sync for PlatformVaultSessionStatus
impl Unpin for PlatformVaultSessionStatus
impl UnsafeUnpin for PlatformVaultSessionStatus
impl UnwindSafe for PlatformVaultSessionStatus
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