Struct aws_sdk_rum::types::RumEvent
source · #[non_exhaustive]pub struct RumEvent {
pub id: String,
pub timestamp: DateTime,
pub type: String,
pub metadata: Option<String>,
pub details: String,
}
Expand description
A structure that contains the information for one performance event that RUM collects from a user session with your application.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: String
A unique ID for this event.
timestamp: DateTime
The exact time that this event occurred.
type: String
The JSON schema that denotes the type of event this is, such as a page load or a new session.
metadata: Option<String>
Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.
details: String
A string containing details about the event.
Implementations§
source§impl RumEvent
impl RumEvent
sourcepub fn type(&self) -> &str
pub fn type(&self) -> &str
The JSON schema that denotes the type of event this is, such as a page load or a new session.
Trait Implementations§
source§impl PartialEq for RumEvent
impl PartialEq for RumEvent
impl StructuralPartialEq for RumEvent
Auto Trait Implementations§
impl RefUnwindSafe for RumEvent
impl Send for RumEvent
impl Sync for RumEvent
impl Unpin for RumEvent
impl UnwindSafe for RumEvent
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.