pub struct IncomingDataCollectionEvent { /* private fields */ }
Implementations§
Source§impl IncomingDataCollectionEvent
impl IncomingDataCollectionEvent
pub fn context<T>(self, value: T) -> Self
pub fn data<T>(self, value: T) -> Self
pub fn from<T>(self, value: T) -> Self
pub fn object<T>(self, value: T) -> Self
pub fn timestamp<T>(self, value: T) -> Self
pub fn type_<T>(self, value: T) -> Self
pub fn uuid<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for IncomingDataCollectionEvent
impl Clone for IncomingDataCollectionEvent
Source§fn clone(&self) -> IncomingDataCollectionEvent
fn clone(&self) -> IncomingDataCollectionEvent
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 moreSource§impl Debug for IncomingDataCollectionEvent
impl Debug for IncomingDataCollectionEvent
Source§impl From<IncomingDataCollectionEvent> for IncomingDataCollectionEvent
impl From<IncomingDataCollectionEvent> for IncomingDataCollectionEvent
Source§fn from(value: IncomingDataCollectionEvent) -> Self
fn from(value: IncomingDataCollectionEvent) -> Self
Converts to this type from the input type.
Source§impl TryFrom<IncomingDataCollectionEvent> for IncomingDataCollectionEvent
impl TryFrom<IncomingDataCollectionEvent> for IncomingDataCollectionEvent
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: IncomingDataCollectionEvent) -> Result<Self, ConversionError>
fn try_from(value: IncomingDataCollectionEvent) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for IncomingDataCollectionEvent
impl RefUnwindSafe for IncomingDataCollectionEvent
impl Send for IncomingDataCollectionEvent
impl Sync for IncomingDataCollectionEvent
impl Unpin for IncomingDataCollectionEvent
impl UnwindSafe for IncomingDataCollectionEvent
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