Struct JournalEntry

Source
pub struct JournalEntry {
Show 70 fields pub cursor: String, pub realtime_timestamp: String, pub monotonic_timestamp: String, pub boot_id: String, pub machine_id: String, pub hostname: String, pub priority: Option<String>, pub uid: Option<String>, pub gid: Option<String>, pub systemd_slice: Option<String>, pub cap_effective: Option<String>, pub transport: String, pub command: Option<String>, pub executable: Option<String>, pub systemd_cgroup: Option<String>, pub systemd_unit: Option<String>, pub systemd_invocation_id: Option<String>, pub systemd_owner_uid: Option<String>, pub systemd_user_slice: Option<String>, pub systemd_user_unit: Option<String>, pub systemd_session: Option<String>, pub syslog_facility: Option<String>, pub syslog_identifier: Option<String>, pub command_line: Option<String>, pub audit_login_uid: Option<String>, pub message: Option<JournalMessage>, pub code_file: Option<String>, pub code_line: Option<String>, pub code_function: Option<String>, pub unit: Option<String>, pub user_unit: Option<String>, pub userspace_usec: Option<String>, pub kernel_usec: Option<String>, pub message_id: Option<String>, pub result: Option<String>, pub user_id: Option<String>, pub seat_id: Option<String>, pub leader: Option<String>, pub journal_name: Option<String>, pub journal_path: Option<String>, pub current_use: Option<String>, pub current_use_pretty: Option<String>, pub max_use: Option<String>, pub max_use_pretty: Option<String>, pub disk_keep_free: Option<String>, pub disk_keep_free_pretty: Option<String>, pub disk_available: Option<String>, pub disk_available_pretty: Option<String>, pub available: Option<String>, pub available_pretty: Option<String>, pub limit: Option<String>, pub limit_pretty: Option<String>, pub session_id: Option<String>, pub target: Option<String>, pub syslog_pid: Option<String>, pub pid: Option<String>, pub audit_session: Option<String>, pub audit_type: Option<String>, pub audit_field_name: Option<String>, pub audit_field_apparmor: Option<String>, pub audit_field_operation: Option<String>, pub audit_field_profile: Option<String>, pub audit_id: Option<String>, pub kernel_subsystem: Option<String>, pub kernel_device: Option<String>, pub udev_sysname: Option<String>, pub udev_devnode: Option<String>, pub udev_devlink: Option<String>, pub source_realtime_timestamp: Option<String>, pub source_monotonic_timestamp: Option<String>,
}

Fields§

§cursor: String§realtime_timestamp: String§monotonic_timestamp: String§boot_id: String§machine_id: String§hostname: String§priority: Option<String>§uid: Option<String>§gid: Option<String>§systemd_slice: Option<String>§cap_effective: Option<String>§transport: String§command: Option<String>§executable: Option<String>§systemd_cgroup: Option<String>§systemd_unit: Option<String>§systemd_invocation_id: Option<String>§systemd_owner_uid: Option<String>§systemd_user_slice: Option<String>§systemd_user_unit: Option<String>§systemd_session: Option<String>§syslog_facility: Option<String>§syslog_identifier: Option<String>§command_line: Option<String>§audit_login_uid: Option<String>§message: Option<JournalMessage>§code_file: Option<String>§code_line: Option<String>§code_function: Option<String>§unit: Option<String>§user_unit: Option<String>§userspace_usec: Option<String>§kernel_usec: Option<String>§message_id: Option<String>§result: Option<String>§user_id: Option<String>§seat_id: Option<String>§leader: Option<String>§journal_name: Option<String>§journal_path: Option<String>§current_use: Option<String>§current_use_pretty: Option<String>§max_use: Option<String>§max_use_pretty: Option<String>§disk_keep_free: Option<String>§disk_keep_free_pretty: Option<String>§disk_available: Option<String>§disk_available_pretty: Option<String>§available: Option<String>§available_pretty: Option<String>§limit: Option<String>§limit_pretty: Option<String>§session_id: Option<String>§target: Option<String>§syslog_pid: Option<String>§pid: Option<String>§audit_session: Option<String>§audit_type: Option<String>§audit_field_name: Option<String>§audit_field_apparmor: Option<String>§audit_field_operation: Option<String>§audit_field_profile: Option<String>§audit_id: Option<String>§kernel_subsystem: Option<String>§kernel_device: Option<String>§udev_sysname: Option<String>§udev_devnode: Option<String>§udev_devlink: Option<String>§source_realtime_timestamp: Option<String>§source_monotonic_timestamp: Option<String>

Trait Implementations§

Source§

impl Clone for JournalEntry

Source§

fn clone(&self) -> JournalEntry

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for JournalEntry

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for JournalEntry

Source§

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 Serialize for JournalEntry

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Typeable for T
where T: Any,

Source§

fn get_type(&self) -> TypeId

Get the TypeId of this object.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,