pub struct LogOutput {Show 13 fields
pub database: String,
pub available: bool,
pub reason: Option<String>,
pub how_to_enable: Option<String>,
pub format: Option<&'static str>,
pub files: Option<Vec<FileInfo>>,
pub settings: Option<Map<String, Value>>,
pub entries: Option<Vec<LogEntry>>,
pub next_cursor: Option<String>,
pub scanned_to_end: Option<bool>,
pub scanned_bytes: Option<u64>,
pub files_read: Option<Vec<String>>,
pub truncated_messages: Option<u64>,
}Expand description
The reply: unavailable (with the reason and the setup), the file listing, or the entries of one scan.
Fields§
§database: String§available: bool§reason: Option<String>§how_to_enable: Option<String>§format: Option<&'static str>§files: Option<Vec<FileInfo>>§settings: Option<Map<String, Value>>§entries: Option<Vec<LogEntry>>§next_cursor: Option<String>§scanned_to_end: Option<bool>§scanned_bytes: Option<u64>§files_read: Option<Vec<String>>§truncated_messages: Option<u64>Trait Implementations§
Source§impl JsonSchema for LogOutput
impl JsonSchema for LogOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for LogOutput
impl Freeze for LogOutput
impl Move for LogOutput
impl RefUnwindSafe for LogOutput
impl Send for LogOutput
impl Sync for LogOutput
impl Unpin for LogOutput
impl UnsafeUnpin for LogOutput
impl UnwindSafe for LogOutput
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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