pub struct EventAttrs<'a> {
pub server_time: Option<SystemTime>,
pub raw_server_time: time_t,
pub use_raw_server_time: bool,
/* private fields */
}Expand description
Event attributes.
Fields§
§server_time: Option<SystemTime>👎Deprecated since 2.3.0: Use raw_server_time instead
Server time.
raw_server_time: time_tRaw server time. Only does anything if use_raw_server_time is set.
use_raw_server_time: boolWhether to pass server_time or raw_server_time to hexchat.
Implementations§
Source§impl<'a> EventAttrs<'a>
impl<'a> EventAttrs<'a>
Sourcepub fn new() -> EventAttrs<'a>
pub fn new() -> EventAttrs<'a>
Creates a new EventAttrs.
Trait Implementations§
Source§impl<'a> Clone for EventAttrs<'a>
impl<'a> Clone for EventAttrs<'a>
Source§fn clone(&self) -> EventAttrs<'a>
fn clone(&self) -> EventAttrs<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for EventAttrs<'a>
impl<'a> RefUnwindSafe for EventAttrs<'a>
impl<'a> Send for EventAttrs<'a>
impl<'a> Sync for EventAttrs<'a>
impl<'a> Unpin for EventAttrs<'a>
impl<'a> UnwindSafe for EventAttrs<'a>
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