pub struct SegmentStats {
pub id: SegmentId,
pub file_path: PathBuf,
pub total_size: u64,
pub used_size: u64,
pub entry_count: u64,
pub read_only: bool,
}Expand description
セグメント統計情報
Fields§
§id: SegmentIdセグメントID
file_path: PathBufファイルパス
total_size: u64総サイズ
used_size: u64使用サイズ
entry_count: u64エントリ数
read_only: bool読み取り専用フラグ
Trait Implementations§
Source§impl Clone for SegmentStats
impl Clone for SegmentStats
Source§fn clone(&self) -> SegmentStats
fn clone(&self) -> SegmentStats
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SegmentStats
impl RefUnwindSafe for SegmentStats
impl Send for SegmentStats
impl Sync for SegmentStats
impl Unpin for SegmentStats
impl UnwindSafe for SegmentStats
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