pub struct SeriesTree_Blocks_Difficulty {
pub value: SeriesPattern1<StoredF64>,
pub hashrate: SeriesPattern1<StoredF64>,
pub adjustment: BpsPercentRatioPattern,
pub epoch: SeriesPattern1<Epoch>,
pub blocks_to_retarget: SeriesPattern1<StoredU32>,
pub days_to_retarget: SeriesPattern1<StoredF32>,
}Expand description
Series tree node.
Fields§
§value: SeriesPattern1<StoredF64>§hashrate: SeriesPattern1<StoredF64>§adjustment: BpsPercentRatioPattern§epoch: SeriesPattern1<Epoch>§blocks_to_retarget: SeriesPattern1<StoredU32>§days_to_retarget: SeriesPattern1<StoredF32>Implementations§
Source§impl SeriesTree_Blocks_Difficulty
impl SeriesTree_Blocks_Difficulty
pub fn new(client: Arc<BrkClientBase>, base_path: String) -> Self
Auto Trait Implementations§
impl Freeze for SeriesTree_Blocks_Difficulty
impl !RefUnwindSafe for SeriesTree_Blocks_Difficulty
impl Send for SeriesTree_Blocks_Difficulty
impl Sync for SeriesTree_Blocks_Difficulty
impl Unpin for SeriesTree_Blocks_Difficulty
impl UnsafeUnpin for SeriesTree_Blocks_Difficulty
impl !UnwindSafe for SeriesTree_Blocks_Difficulty
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
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