pub struct LogTailParams {
pub lines: u32,
}Expand description
system.log_tail params — sized “last N lines of agent.log” so
support handoff diagnostics fit a single message inside the 1 MiB
framing cap (SPEC §2.12.2).
Fields§
§lines: u32How many trailing lines to return. Agent clamps to its internal cap (currently 1000) to keep responses bounded — callers asking for more will see truncation, not an error. Defaults to 200 when the field is absent.
Trait Implementations§
Source§impl Clone for LogTailParams
impl Clone for LogTailParams
Source§fn clone(&self) -> LogTailParams
fn clone(&self) -> LogTailParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogTailParams
impl Debug for LogTailParams
Source§impl Default for LogTailParams
impl Default for LogTailParams
Source§impl<'de> Deserialize<'de> for LogTailParams
impl<'de> Deserialize<'de> for LogTailParams
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
Source§impl JsonSchema for LogTailParams
impl JsonSchema for LogTailParams
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 Freeze for LogTailParams
impl RefUnwindSafe for LogTailParams
impl Send for LogTailParams
impl Sync for LogTailParams
impl Unpin for LogTailParams
impl UnsafeUnpin for LogTailParams
impl UnwindSafe for LogTailParams
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