struct EventBuilder<'a> {
seqnum: Option<Seqnum>,
running_time_offset: Option<i64>,
other_fields: Vec<(&'a str, SendValue)>,
}Fields§
§seqnum: Option<Seqnum>§running_time_offset: Option<i64>§other_fields: Vec<(&'a str, SendValue)>Implementations§
Source§impl<'a> EventBuilder<'a>
impl<'a> EventBuilder<'a>
fn new() -> Self
fn seqnum(self, seqnum: Seqnum) -> Self
fn running_time_offset(self, running_time_offset: i64) -> Self
fn other_field(self, name: &'a str, value: impl ToSendValue) -> Self
Auto Trait Implementations§
impl<'a> Freeze for EventBuilder<'a>
impl<'a> RefUnwindSafe for EventBuilder<'a>
impl<'a> Send for EventBuilder<'a>
impl<'a> !Sync for EventBuilder<'a>
impl<'a> Unpin for EventBuilder<'a>
impl<'a> UnwindSafe for EventBuilder<'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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more