pub struct ExtraVoltData {
Show 44 fields pub is_whitelisted: bool, pub whitelist: Pubkey, pub is_for_dao: bool, pub dao_program_id: Pubkey, pub deposit_mint: Pubkey, pub target_leverage: f64, pub target_leverage_lenience: f64, pub exit_early_ratio: f64, pub entropy_program_id: Pubkey, pub entropy_group: Pubkey, pub entropy_account: Pubkey, pub power_perp_market: Pubkey, pub have_resolved_deposits: bool, pub done_rebalancing: bool, pub dao_authority: Pubkey, pub serum_program_id: Pubkey, pub entropy_cache: Pubkey, pub spot_perp_market: Pubkey, pub extra_key_7: Pubkey, pub extra_key_8: Pubkey, pub extra_key_9: Pubkey, pub extra_key_10: Pubkey, pub extra_key_11: Pubkey, pub extra_key_12: Pubkey, pub extra_key_13: Pubkey, pub extra_key_14: Pubkey, pub net_withdrawals: u64, pub max_quote_pos_change: u64, pub target_hedge_lenience: f64, pub unused_uint_four: u64, pub unused_uint_five: u64, pub unused_uint_six: u64, pub unused_uint_7: u64, pub unused_uint_8: u64, pub unused_uint_9: u64, pub unused_uint_10: u64, pub unused_uint_11: u64, pub unused_uint_12: u64, pub turn_off_deposits_and_withdrawals: bool, pub rebalance_is_ready: bool, pub unused_bool1234: bool, pub done_rebalancing_power_perp: bool, pub is_hedging_on: bool, pub have_taken_performance_fees: bool,
}

Fields

is_whitelisted: boolwhitelist: Pubkeyis_for_dao: booldao_program_id: Pubkeydeposit_mint: Pubkeytarget_leverage: f64target_leverage_lenience: f64exit_early_ratio: f64entropy_program_id: Pubkeyentropy_group: Pubkeyentropy_account: Pubkeypower_perp_market: Pubkeyhave_resolved_deposits: booldone_rebalancing: booldao_authority: Pubkeyserum_program_id: Pubkeyentropy_cache: Pubkeyspot_perp_market: Pubkey

pubkey of perp market to hedge

extra_key_7: Pubkeyextra_key_8: Pubkeyextra_key_9: Pubkeyextra_key_10: Pubkeyextra_key_11: Pubkeyextra_key_12: Pubkeyextra_key_13: Pubkeyextra_key_14: Pubkeynet_withdrawals: u64max_quote_pos_change: u64target_hedge_lenience: f64unused_uint_four: u64unused_uint_five: u64unused_uint_six: u64unused_uint_7: u64unused_uint_8: u64unused_uint_9: u64unused_uint_10: u64unused_uint_11: u64unused_uint_12: u64turn_off_deposits_and_withdrawals: boolrebalance_is_ready: boolunused_bool1234: booldone_rebalancing_power_perp: boolis_hedging_on: boolhave_taken_performance_fees: bool

Implementations

Trait Implementations

Deserializes previously initialized account data. Should fail for all uninitialized accounts, where the bytes are zeroed. Implementations should be unique to a particular account type so that one can never successfully deserialize the data of one account type into another. For example, if the SPL token program were to implement this trait, it should be impossible to deserialize a Mint account into a token Account. Read more

Deserializes account data without checking the account discriminator. This should only be used on account initialization, when the bytes of the account are zeroed. Read more

Serializes the account data into writer.

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes. Read more

Deserialize this instance from a slice of bytes.

Serialize this instance into a vector of bytes.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.