ReferenceSdkRustTypes
DecisionObject
Rust struct goodmem::models::DecisionObject: declaration, fields or variants, and implementations.
Struct DecisionObject
goodmem::models::DecisionObject
Named decision content fields.
pub struct DecisionObject {
pub fields: BTreeMap<String, DecisionContent>,
}Referenced types: DecisionContent.
Fields
fields
pub fields: BTreeMap<String, DecisionContent>
Content keyed by field name.
Wire name: fields.
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 DecisionObjectimpl std::fmt::Debug for DecisionObject