GoodMemGoodMem
ReferenceSdkRustTypes

PageTimings

Rust struct goodmem::models::PageTimings: declaration, fields or variants, and implementations.

All types

Struct PageTimings

goodmem::models::PageTimings

Per-page timing breakdown for OCR processing.

pub struct PageTimings {
    pub queue_wait_ms: i64,
    pub render_ms: i64,
    pub ocr_ms: i64,
    pub total_ms: i64,
}

Fields

queue_wait_ms

pub queue_wait_ms: i64

Time spent waiting in the render queue (ms) Wire name: queueWaitMs.

render_ms

pub render_ms: i64

Time spent rendering the page image (ms) Wire name: renderMs.

ocr_ms

pub ocr_ms: i64

Time spent running OCR (ms) Wire name: ocrMs.

total_ms

pub total_ms: i64

Total page processing time (ms) Wire name: totalMs.

Implementations

validate

pub fn validate(&self) -> crate::Result<()>

Validate the request before sending, without making an HTTP call.

Trait implementations

  • Clone (derived)
  • Default (derived)
  • PartialEq (derived)
  • Serialize (derived)
  • impl<'de> Deserialize<'de> for PageTimings
  • impl std::fmt::Debug for PageTimings

On this page