pub struct AkronHookState {
pub hook_type: String,
pub weights: Vec<BigInt>,
pub minimum_swap_fee_percentage: BigInt,
}
Expand description
Akron hook state
Fields§
§hook_type: String
Hook type
weights: Vec<BigInt>
Pool weights
minimum_swap_fee_percentage: BigInt
Minimum swap fee percentage (scaled 18)
Trait Implementations§
Source§impl Clone for AkronHookState
impl Clone for AkronHookState
Source§fn clone(&self) -> AkronHookState
fn clone(&self) -> AkronHookState
Returns a duplicate of the value. Read more
1.0.0 · 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 AkronHookState
impl Debug for AkronHookState
Source§impl Default for AkronHookState
impl Default for AkronHookState
Source§impl<'de> Deserialize<'de> for AkronHookState
impl<'de> Deserialize<'de> for AkronHookState
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
Source§impl HookStateBase for AkronHookState
impl HookStateBase for AkronHookState
Source§impl PartialEq for AkronHookState
impl PartialEq for AkronHookState
Source§impl Serialize for AkronHookState
impl Serialize for AkronHookState
impl StructuralPartialEq for AkronHookState
Auto Trait Implementations§
impl Freeze for AkronHookState
impl RefUnwindSafe for AkronHookState
impl Send for AkronHookState
impl Sync for AkronHookState
impl Unpin for AkronHookState
impl UnwindSafe for AkronHookState
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