pub struct LogRead {
pub host: HostId,
pub topology_revision: TopologyRevision,
pub source: LogSource,
pub source_path: Option<PathBuf>,
pub lines: Vec<String>,
pub truncated: bool,
pub permission: Option<LogPermissionDiagnostic>,
}Expand description
Bounded log read result.
Fields§
§host: HostIdTarget host.
topology_revision: TopologyRevisionExact topology revision.
source: LogSourceSelected source.
source_path: Option<PathBuf>Source path when file-backed.
lines: Vec<String>Filtered result lines.
truncated: boolWhether the output byte ceiling or line limit omitted data.
permission: Option<LogPermissionDiagnostic>Permission diagnostic for restricted sources such as dmesg.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogRead
impl<'de> Deserialize<'de> for LogRead
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
impl Eq for LogRead
impl StructuralPartialEq for LogRead
Auto Trait Implementations§
impl Freeze for LogRead
impl RefUnwindSafe for LogRead
impl Send for LogRead
impl Sync for LogRead
impl Unpin for LogRead
impl UnsafeUnpin for LogRead
impl UnwindSafe for LogRead
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.