OZStoredCredentialUpdate

public struct OZStoredCredentialUpdate : Sendable, Equatable, Hashable

Partial updates for a stored credential.

Only non-nil fields are applied during an update operation. A nil value means “no change” — it does not clear the field to nil. This is a deliberate design choice: there is no way to set a previously non-nil field back to nil via OZStorageAdapter.update. To reset a field, call OZStorageAdapter.save with a full OZStoredCredential replacement.

Example:

let update = OZStoredCredentialUpdate(
    deploymentStatus: .failed,
    deploymentError: "Transaction failed: insufficient balance"
)
try await storage.update(credentialId: "abc123", updates: update)