pub struct LogsRequest {
pub tail_lines: u32,
}Expand description
Payload sent on logs.fetch.<pc_id> to request the tail of an
agent’s log file. Unknown / missing fields fall back to sensible
defaults so the CLI / Web UI can grow the shape later without
retraining every fleet host.
Fields§
§tail_lines: u32Number of trailing lines to return from the most recent log file. Defaults to 500 — fits comfortably in a single NATS reply.
Trait Implementations§
Source§impl Clone for LogsRequest
impl Clone for LogsRequest
Source§fn clone(&self) -> LogsRequest
fn clone(&self) -> LogsRequest
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 LogsRequest
impl Debug for LogsRequest
Source§impl Default for LogsRequest
impl Default for LogsRequest
Source§impl<'de> Deserialize<'de> for LogsRequestwhere
LogsRequest: Default,
impl<'de> Deserialize<'de> for LogsRequestwhere
LogsRequest: Default,
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
Auto Trait Implementations§
impl Freeze for LogsRequest
impl RefUnwindSafe for LogsRequest
impl Send for LogsRequest
impl Sync for LogsRequest
impl Unpin for LogsRequest
impl UnsafeUnpin for LogsRequest
impl UnwindSafe for LogsRequest
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