GoodMemGoodMem
ReferenceSdkRustTypes

ActiveLicenseMetadata

Rust struct goodmem::models::ActiveLicenseMetadata: declaration, fields or variants, and implementations.

All types

Struct ActiveLicenseMetadata

goodmem::models::ActiveLicenseMetadata

pub struct ActiveLicenseMetadata {
    pub filename: String,
    pub sha256: String,
    pub size_bytes: i64,
    pub modified_at: String,
}

Fields

filename

pub filename: String

Filename of the active license on disk. Wire name: filename.

sha256

pub sha256: String

Hex-encoded SHA-256 hash of the active license file. Wire name: sha256.

size_bytes

pub size_bytes: i64

Size of the active license file in bytes. Wire name: sizeBytes.

modified_at

pub modified_at: String

Last modification timestamp of the active license file. Wire name: modifiedAt.

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 ActiveLicenseMetadata
  • impl std::fmt::Debug for ActiveLicenseMetadata

On this page