pub struct Moved {
pub pair: ValidPair,
pub host_id: HostId,
pub host_public_key: PublicKey,
pub host_addresses: Vec<String>,
pub delegation_epoch: u64,
}Expand description
A verified move: the new pair (store its state) and how to reach the new host.
Fields§
§pair: ValidPairThe verified descriptor and delegation; ValidPair::state is the state to store.
host_id: HostIdThe new host.
host_public_key: PublicKeyIts key: the welcome’s host_public_key must equal it.
host_addresses: Vec<String>Its SimpleX addresses, signed by the root key.
delegation_epoch: u64The new delegation’s epoch.
Trait Implementations§
impl Eq for Moved
impl StructuralPartialEq for Moved
Auto Trait Implementations§
impl Freeze for Moved
impl RefUnwindSafe for Moved
impl Send for Moved
impl Sync for Moved
impl Unpin for Moved
impl UnsafeUnpin for Moved
impl UnwindSafe for Moved
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more