pub struct NodeIdentityPayload<'a> {
pub timestamp: u32,
pub role: NodeRole,
pub capabilities: Capabilities,
pub name: Option<&'a str>,
pub options: Option<&'a [u8]>,
pub signature: Option<&'a [u8; 64]>,
}Fields§
§timestamp: u32§role: NodeRole§capabilities: Capabilities§name: Option<&'a str>§options: Option<&'a [u8]>§signature: Option<&'a [u8; 64]>Trait Implementations§
Source§impl<'a> Clone for NodeIdentityPayload<'a>
impl<'a> Clone for NodeIdentityPayload<'a>
Source§fn clone(&self) -> NodeIdentityPayload<'a>
fn clone(&self) -> NodeIdentityPayload<'a>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for NodeIdentityPayload<'a>
impl<'a> Debug for NodeIdentityPayload<'a>
Source§impl From<NodeIdentityPayload<'_>> for OwnedNodeIdentityPayload
impl From<NodeIdentityPayload<'_>> for OwnedNodeIdentityPayload
Source§fn from(value: NodeIdentityPayload<'_>) -> Self
fn from(value: NodeIdentityPayload<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for NodeIdentityPayload<'a>
impl<'a> PartialEq for NodeIdentityPayload<'a>
impl<'a> Copy for NodeIdentityPayload<'a>
impl<'a> Eq for NodeIdentityPayload<'a>
impl<'a> StructuralPartialEq for NodeIdentityPayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for NodeIdentityPayload<'a>
impl<'a> RefUnwindSafe for NodeIdentityPayload<'a>
impl<'a> Send for NodeIdentityPayload<'a>
impl<'a> Sync for NodeIdentityPayload<'a>
impl<'a> Unpin for NodeIdentityPayload<'a>
impl<'a> UnwindSafe for NodeIdentityPayload<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)