pub struct VaultConfigParams {
pub initial_share_price: Decimal,
pub min_seed_usdc: Decimal,
pub min_deposit_usdc: Decimal,
pub min_withdraw_usdc: Decimal,
pub cooldown_ms: u64,
pub settle_interval_ms: u64,
pub withdrawal_deadline_ms: u64,
pub forced_unwind_slippage_bps: u32,
}Expand description
A vault’s owner-signed terms.
Fields§
§min_seed_usdc: Decimal§min_deposit_usdc: Decimal§min_withdraw_usdc: Decimal§cooldown_ms: u64§settle_interval_ms: u64§withdrawal_deadline_ms: u64§forced_unwind_slippage_bps: u32Trait Implementations§
Source§impl Clone for VaultConfigParams
impl Clone for VaultConfigParams
Source§impl Debug for VaultConfigParams
impl Debug for VaultConfigParams
Source§impl<'de> Deserialize<'de> for VaultConfigParams
impl<'de> Deserialize<'de> for VaultConfigParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VaultConfigParams
Source§impl PartialEq for VaultConfigParams
impl PartialEq for VaultConfigParams
Source§impl Serialize for VaultConfigParams
impl Serialize for VaultConfigParams
impl StructuralPartialEq for VaultConfigParams
Auto Trait Implementations§
impl Forget for VaultConfigParams
impl Freeze for VaultConfigParams
impl Move for VaultConfigParams
impl RefUnwindSafe for VaultConfigParams
impl Send for VaultConfigParams
impl Sync for VaultConfigParams
impl Unpin for VaultConfigParams
impl UnsafeUnpin for VaultConfigParams
impl UnwindSafe for VaultConfigParams
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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