[−][src]Struct tdb_core::storage::dtf_file_metadata::DTFFileMetadata
Data structure for storing metadata for dtf files
Fields
file_type: FileType
file type is dtf
file_size: u64
File size on disk
exchange: String
Which exchange is the data from
currency: String
Name of currency
asset: String
Name of asset
asset_type: AssetType
Type of asset: Spot, Future, other derivatives
first_epoch: u64
Timestamp of the first update
last_epoch: u64
Timestamp of the Last update
total_updates: u64
Number of updates in the file
assert_continuity: bool
Is the data continuous, currently it's always true
discontinuities: Vec<(u64, u64)>
Discrete jumps in data, currently unimplemented!()
continuation_candles: bool
If there are continuation candles
uuid: Uuid
Unique ID of the file
filename: String
Filename
Tags
errors: Vec<String>
Errors in file
Methods
impl DTFFileMetadata
[src]
Trait Implementations
impl Default for DTFFileMetadata
[src]
fn default() -> DTFFileMetadata
[src]
impl FileMetadata for DTFFileMetadata
[src]
impl Serialize for DTFFileMetadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for DTFFileMetadata
impl Send for DTFFileMetadata
impl Sync for DTFFileMetadata
impl Unpin for DTFFileMetadata
impl UnwindSafe for DTFFileMetadata
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,