ReferenceSdkRustTypes
GoodMemStatus
Rust struct goodmem::models::GoodMemStatus: declaration, fields or variants, and implementations.
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 GoodMemStatusimpl std::fmt::Debug for GoodMemStatus