GoodMemGoodMem
ReferenceSdkRustTypes

LoggingOptions

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

All types

Struct LoggingOptions

goodmem::models::LoggingOptions

pub struct LoggingOptions {
    pub enabled: Option<bool>,
    pub caller_attributes: Option<BTreeMap<String, serde_json::Value>>,
}

Fields

enabled

pub enabled: Option<bool>

Opts this request in to durable server-side request logging. False or omitted does not opt out of admin policy logging. Wire name: enabled.

caller_attributes

pub caller_attributes: Option<BTreeMap<String, serde_json::Value>>

Optional flat scalar attributes attached if this request is persisted by caller opt-in or admin policy logging. Supported value types are string, integer, floating-point, and boolean. At most 32 entries are accepted. Wire name: callerAttributes.

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 LoggingOptions
  • impl std::fmt::Debug for LoggingOptions

On this page