GoodMemGoodMem
ReferenceSdkRustTypes

GoodMemStatus

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

All types

Struct GoodMemStatus

goodmem::models::GoodMemStatus

Warning or non-fatal status with granular codes (operation continues)

pub struct GoodMemStatus {
    pub code: GoodMemStatusCode,
    pub message: String,
    pub details: Option<BTreeMap<String, String>>,
}

Referenced types: GoodMemStatusCode.

Fields

code

pub code: GoodMemStatusCode

Status code for the warning or informational message Wire name: code.

message

pub message: String

Human-readable status message Wire name: message.

details

pub details: Option<BTreeMap<String, String>>

Additional contextual details Wire name: details.

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

On this page