ReferenceSdkRustTypes
AdminReloadLicenseResponse
Rust struct goodmem::models::AdminReloadLicenseResponse: declaration, fields or variants, and implementations.
Struct AdminReloadLicenseResponse
goodmem::models::AdminReloadLicenseResponse
pub struct AdminReloadLicenseResponse {
pub status: AdminReloadLicenseResponseStatus,
pub message: String,
pub active_license: Option<Box<ActiveLicenseMetadata>>,
}Referenced types: ActiveLicenseMetadata, AdminReloadLicenseResponseStatus.
Fields
status
pub status: AdminReloadLicenseResponseStatus
Outcome of the reload attempt, such as LOADED, UNCHANGED, FAILED, or NOT_FOUND.
Wire name: status.
message
pub message: String
Human-readable message describing the reload result.
Wire name: message.
active_license
pub active_license: Option<Box<ActiveLicenseMetadata>>
Metadata for the currently active license after reload, or null if no license is active.
Wire name: activeLicense.
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 AdminReloadLicenseResponseimpl std::fmt::Debug for AdminReloadLicenseResponse