pub struct AdditionalInfo {
pub estimated_annual_reward: f64,
pub lockup_period: f64,
pub activation_period: f64,
}
Expand description
AdditionalInfo : Additional information related to the blockchain. This may include extra details about the blockchain network.
Fields§
§estimated_annual_reward: f64
The estimated annual reward rate for the blockchain, represented as a decimal percentage value.
lockup_period: f64
The duration of the lockup period for certain actions on the blockchain, measured in milliseconds.
activation_period: f64
The duration of the activation period for certain actions on the blockchain, measured in milliseconds.
Implementations§
Trait Implementations§
Source§impl Clone for AdditionalInfo
impl Clone for AdditionalInfo
Source§fn clone(&self) -> AdditionalInfo
fn clone(&self) -> AdditionalInfo
Returns a copy 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 AdditionalInfo
impl Debug for AdditionalInfo
Source§impl Default for AdditionalInfo
impl Default for AdditionalInfo
Source§fn default() -> AdditionalInfo
fn default() -> AdditionalInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdditionalInfo
impl<'de> Deserialize<'de> for AdditionalInfo
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 PartialEq for AdditionalInfo
impl PartialEq for AdditionalInfo
Source§impl Serialize for AdditionalInfo
impl Serialize for AdditionalInfo
impl StructuralPartialEq for AdditionalInfo
Auto Trait Implementations§
impl Freeze for AdditionalInfo
impl RefUnwindSafe for AdditionalInfo
impl Send for AdditionalInfo
impl Sync for AdditionalInfo
impl Unpin for AdditionalInfo
impl UnwindSafe for AdditionalInfo
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