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
sourceimpl PartialEq<NodeAlias> for NodeAlias
impl PartialEq<NodeAlias> for NodeAlias
sourceimpl Writeable for NodeAlias
impl Writeable for NodeAlias
sourcefn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Writes self out to a Vec
sourcefn serialized_length(&self) -> usize
fn serialized_length(&self) -> usize
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more