Struct safe_network::messaging::system::RelocatePayload
source · [−]pub struct RelocatePayload {
pub details: SystemMsg,
pub section_signed: SectionAuth,
pub signature_of_new_name_with_old_key: Signature,
}
Expand description
Details of a node relocation and new signed name
Fields
details: SystemMsg
Message whose content is Variant::Relocate
section_signed: SectionAuth
Section authority for the details
signature_of_new_name_with_old_key: Signature
The new name of the node signed using its old public_key, to prove the node identity.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RelocatePayload
impl Send for RelocatePayload
impl Sync for RelocatePayload
impl Unpin for RelocatePayload
impl UnwindSafe for RelocatePayload
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more