ReferenceSdkRustTypes
AuthorizationCheckResult
Rust struct goodmem::models::AuthorizationCheckResult: declaration, fields or variants, and implementations.
Struct AuthorizationCheckResult
goodmem::models::AuthorizationCheckResult
One advisory decision; false covers both an absent target and an authorization denial.
pub struct AuthorizationCheckResult {
pub allowed: bool,
}Fields
allowed
pub allowed: bool
Whether the caller currently has effective authority.
Wire name: allowed.
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 AuthorizationCheckResultimpl std::fmt::Debug for AuthorizationCheckResult