Struct bitcoin_block::BlockFileInfo
source · pub struct BlockFileInfo {
pub n_blocks: u32,
pub n_size: u32,
pub n_undo_size: u32,
pub n_height_first: u32,
pub n_height_last: u32,
pub n_time_first: u64,
pub n_time_last: u64,
}Fields§
§n_blocks: u32| number of blocks stored in file |
n_size: u32| number of used bytes of block file |
n_undo_size: u32| number of used bytes in the undo file |
n_height_first: u32| lowest height of block in file |
n_height_last: u32| highest height of block in file |
n_time_first: u64| earliest time of block in file |
n_time_last: u64| latest time of block in file |
Implementations§
Trait Implementations§
source§impl Default for BlockFileInfo
impl Default for BlockFileInfo
source§fn default() -> BlockFileInfo
fn default() -> BlockFileInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BlockFileInfo
impl<'de> Deserialize<'de> for BlockFileInfo
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
Auto Trait Implementations§
impl RefUnwindSafe for BlockFileInfo
impl Send for BlockFileInfo
impl Sync for BlockFileInfo
impl Unpin for BlockFileInfo
impl UnwindSafe for BlockFileInfo
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more