pub struct DownstreamForceKeyUnitEventBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> DownstreamForceKeyUnitEventBuilder<'a>
impl<'a> DownstreamForceKeyUnitEventBuilder<'a>
pub fn timestamp(self, timestamp: impl Into<Option<ClockTime>>) -> Self
pub fn stream_time(self, stream_time: impl Into<Option<ClockTime>>) -> Self
pub fn running_time(self, running_time: impl Into<Option<ClockTime>>) -> Self
pub fn all_headers(self, all_headers: bool) -> Self
pub fn count(self, count: u32) -> Self
pub fn seqnum(self, seqnum: Seqnum) -> Self
pub fn running_time_offset(self, running_time_offset: i64) -> Self
pub fn other_field(self, name: &'a str, value: impl ToSendValue) -> Self
pub fn other_fields( self, other_fields: &[(&'a str, &'a (dyn ToSendValue + Sync))] ) -> Self
👎Deprecated: use build.other_field() instead
pub fn build(self) -> Event
Auto Trait Implementations§
impl<'a> Freeze for DownstreamForceKeyUnitEventBuilder<'a>
impl<'a> RefUnwindSafe for DownstreamForceKeyUnitEventBuilder<'a>
impl<'a> Send for DownstreamForceKeyUnitEventBuilder<'a>
impl<'a> !Sync for DownstreamForceKeyUnitEventBuilder<'a>
impl<'a> Unpin for DownstreamForceKeyUnitEventBuilder<'a>
impl<'a> UnwindSafe for DownstreamForceKeyUnitEventBuilder<'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