pub struct ScreenLogOptions {
pub show_events: bool,
pub show_heartbeats: bool,
pub show_incoming: bool,
pub show_outgoing: bool,
pub include_milliseconds: bool,
}Expand description
Output switches for ScreenLog (FR-026): ScreenLogShowEvents/ScreenLogShowHeartBeats/
ScreenLogShowIncoming/ScreenLogShowOutgoing/ScreenIncludeMilliseconds.
Fields§
§show_events: boolScreenLogShowEvents: whether event lines are printed at all.
show_heartbeats: boolScreenLogShowHeartBeats: whether Heartbeat (35=0) messages are printed.
show_incoming: boolScreenLogShowIncoming: whether inbound messages are printed at all.
show_outgoing: boolScreenLogShowOutgoing: whether outbound messages are printed at all.
include_milliseconds: boolScreenIncludeMilliseconds: whether the timestamp prefix includes milliseconds.
Trait Implementations§
Source§impl Clone for ScreenLogOptions
impl Clone for ScreenLogOptions
Source§fn clone(&self) -> ScreenLogOptions
fn clone(&self) -> ScreenLogOptions
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 moreimpl Copy for ScreenLogOptions
Source§impl Debug for ScreenLogOptions
impl Debug for ScreenLogOptions
Auto Trait Implementations§
impl Freeze for ScreenLogOptions
impl RefUnwindSafe for ScreenLogOptions
impl Send for ScreenLogOptions
impl Sync for ScreenLogOptions
impl Unpin for ScreenLogOptions
impl UnsafeUnpin for ScreenLogOptions
impl UnwindSafe for ScreenLogOptions
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