pub struct EntropyMetadata {
Show 44 fields pub target_hedge_ratio: f64, pub rebalancing_lenience: f64, pub required_basis_from_oracle: f64, pub extra_key_3: Pubkey, pub extra_key_4: Pubkey, pub extra_key_5: Pubkey, pub extra_key_6: 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 unused_uint_four: u64, pub unused_uint_five: u64, pub unused_uint_six: u64, pub unused_uint_12: u64, pub unused_uint_123: u64, pub unused_uint_456: u64, pub unused_uint_789: u64, pub unused_uint_102: u64, pub unused_float1: f64, pub unused_float2: f64, pub unused_float3: f64, pub unused_float4: f64, pub unused_float5: f64, pub unused_float6: f64, pub unused_float7: f64, pub unused_float8: f64, pub unused_float9: f64, pub unused_float10: f64, pub unused_float11: f64, pub unused_float12: f64, pub unused_bool_one: bool, pub unused_bool_two: bool, pub unused_bool_three: bool, pub unused_bool_four: bool, pub unused_bool_five: bool, pub unused_bool_six: bool, pub unused_bool_seven: bool, pub unused_bool_eight: bool, pub unused_bool_nine: bool, pub unused_bool_ten: bool, pub vault_name: String,
}

Fields

target_hedge_ratio: f64rebalancing_lenience: f64required_basis_from_oracle: f64extra_key_3: Pubkeyextra_key_4: Pubkeyextra_key_5: Pubkeyextra_key_6: Pubkeyextra_key_7: Pubkeyextra_key_8: Pubkeyextra_key_9: Pubkeyextra_key_10: Pubkeyextra_key_11: Pubkeyextra_key_12: Pubkeyunused_uint_four: u64unused_uint_five: u64unused_uint_six: u64unused_uint_12: u64unused_uint_123: u64unused_uint_456: u64unused_uint_789: u64unused_uint_102: u64unused_float1: f64unused_float2: f64unused_float3: f64unused_float4: f64unused_float5: f64unused_float6: f64unused_float7: f64unused_float8: f64unused_float9: f64unused_float10: f64unused_float11: f64unused_float12: f64unused_bool_one: boolunused_bool_two: boolunused_bool_three: boolunused_bool_four: boolunused_bool_five: boolunused_bool_six: boolunused_bool_seven: boolunused_bool_eight: boolunused_bool_nine: boolunused_bool_ten: boolvault_name: String

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.