pub struct Report {
pub namespace: String,
pub schema: Option<Schema>,
pub manifest: Option<Manifest>,
pub wal: WalReport,
pub segments: Vec<SegmentReport>,
pub problems: Vec<String>,
}Expand description
What report found in one namespace.
Fields§
§namespace: StringThe namespace id that was inspected.
schema: Option<Schema>The schema in schema.json, or None if the object is missing or
unreadable (the second is also a problem).
manifest: Option<Manifest>The manifest, or None if it is missing or unreadable (also a problem).
wal: WalReportThe WAL objects listed under wal/.
segments: Vec<SegmentReport>Every segment directory listed under segments/, oldest range first.
problems: Vec<String>What looks wrong, one sentence each. Empty means nothing did.
Trait Implementations§
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Forget for Report
impl Freeze for Report
impl Move for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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