pub struct AsyncEventParts<'a> {
pub id: AsyncResourceId<'a>,
pub kind: AsyncResourceText<'a>,
pub observed_at: AsyncResourceTimestamp<'a>,
pub link: Option<AsyncResourceLink<'a>>,
pub message: Option<AsyncResourceText<'a>>,
}Expand description
Complete borrowed fields for one generic asynchronous event fixture.
Fields§
§id: AsyncResourceId<'a>Opaque event identifier.
kind: AsyncResourceText<'a>Provider event type.
observed_at: AsyncResourceTimestamp<'a>Event observation timestamp.
link: Option<AsyncResourceLink<'a>>Optional non-executable related-resource link.
message: Option<AsyncResourceText<'a>>Optional sensitive event message.
Trait Implementations§
Source§impl<'a> Clone for AsyncEventParts<'a>
impl<'a> Clone for AsyncEventParts<'a>
Source§fn clone(&self) -> AsyncEventParts<'a>
fn clone(&self) -> AsyncEventParts<'a>
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<'a> Copy for AsyncEventParts<'a>
Auto Trait Implementations§
impl<'a> Freeze for AsyncEventParts<'a>
impl<'a> RefUnwindSafe for AsyncEventParts<'a>
impl<'a> Send for AsyncEventParts<'a>
impl<'a> Sync for AsyncEventParts<'a>
impl<'a> Unpin for AsyncEventParts<'a>
impl<'a> UnsafeUnpin for AsyncEventParts<'a>
impl<'a> UnwindSafe for AsyncEventParts<'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