GoodMemGoodMem
ReferenceSdkRustTypes

MemoriesContentOptions

Rust struct goodmem::api::MemoriesContentOptions: declaration, fields or variants, and implementations.

All types

Struct MemoriesContentOptions

goodmem::api::MemoriesContentOptions

Query parameters and headers for memories.content.

pub struct MemoriesContentOptions {
    pub range: Option<String>,
    pub accept_encoding: Option<String>,
    pub if_match: Option<String>,
}

Fields

range

pub range: Option<String>

Single byte range, for example bytes=1048576- or bytes=-1024 Wire name: Range.

accept_encoding

pub accept_encoding: Option<String>

Use identity for resumable byte ranges; gzip is available for full text-like responses Wire name: Accept-Encoding.

if_match

pub if_match: Option<String>

Saved strong ETag, including quotes. A mismatch returns 412 before any source bytes are sent Wire name: If-Match.

Trait implementations

  • Clone (derived)
  • Debug (derived)
  • Default (derived)
  • Serialize (derived)

On this page