Struct mongodb::event::sdam::ServerHeartbeatSucceededEvent [−][src]
#[non_exhaustive]pub struct ServerHeartbeatSucceededEvent {
pub duration: Duration,
pub reply: Document,
pub server_address: ServerAddress,
}
Expand description
Published when a server monitor’s hello
or legacy hello command succeeds.
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.duration: Duration
The execution time of the event.
reply: Document
The reply to the hello
or legacy hello command.
server_address: ServerAddress
The address of the server.
Trait Implementations
Auto Trait Implementations
impl Send for ServerHeartbeatSucceededEvent
impl Sync for ServerHeartbeatSucceededEvent
impl Unpin for ServerHeartbeatSucceededEvent
impl UnwindSafe for ServerHeartbeatSucceededEvent
Blanket Implementations
Mutably borrows from an owned value. Read more