pub fn encode_owner(owner: &LockOwner) -> StringExpand description
What: The text of one owner record, as the incumbent writes it. Why: Other wrappers read this record, so its key order and spelling are fixed.
In TS you’d write (pseudocode):
`${JSON.stringify({ leaseToken, ownerBirthIdentity, ownerPid, schemaVersion })}\n`