Struct HandOff
zaun_client::HandOff · Struct
pub struct HandOff { … }What a hand-off signed and published: the new delegation and the descriptor naming it.
Fields
Section titled “Fields”descriptor: SignedJson
Section titled “descriptor: SignedJson”The descriptor, next revision, referencing delegation.
delegation: SignedJson
Section titled “delegation: SignedJson”The delegation to the new host.
epoch: u64
Section titled “epoch: u64”Its epoch.
Methods
Section titled “Methods”import_json
Section titled “import_json”pub fn import_json(&self) -> String{"descriptor": …, "delegation": …}, the file zaun-host import --descriptor takes
for a bundle exported before the hand-off.
Trait implementations
Section titled “Trait implementations”Clone, Debug, PartialEq, Serialize, StructuralPartialEq