ReferenceSdkRustTypes
DecisionLimit
Rust struct goodmem::models::DecisionLimit: declaration, fields or variants, and implementations.
Struct DecisionLimit
goodmem::models::DecisionLimit
A known numeric limit.
pub struct DecisionLimit {
pub r#type: DecisionLimitType,
pub value: i64,
}Referenced types: DecisionLimitType.
Fields
r#type
pub r#type: DecisionLimitType
Limit identifier.
Wire name: type.
value
pub value: i64
Known limit value.
Wire name: value.
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 DecisionLimitimpl std::fmt::Debug for DecisionLimit