pub struct NodeAlias(pub [u8; 32]);Expand description
A user-defined name for a node, which may be used when displaying the node in a graph.
Since node aliases are provided by third parties, they are a potential avenue for injection attacks. Care must be taken when processing.
Tuple Fields§
§0: [u8; 32]Trait Implementations§
source§impl PartialEq<NodeAlias> for NodeAlias
impl PartialEq<NodeAlias> for NodeAlias
source§impl Writeable for NodeAlias
impl Writeable for NodeAlias
impl Copy for NodeAlias
impl Eq for NodeAlias
impl StructuralEq for NodeAlias
impl StructuralPartialEq for NodeAlias
Auto Trait Implementations§
impl RefUnwindSafe for NodeAlias
impl Send for NodeAlias
impl Sync for NodeAlias
impl Unpin for NodeAlias
impl UnwindSafe for NodeAlias
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