pub trait NoteBase {
// Provided methods
fn name(&self) -> String { ... }
fn get_type(&self) -> Type { ... }
fn original_type(&self) -> u32 { ... }
fn size(&self) -> u64 { ... }
fn description(&self) -> &[u8] ⓘ { ... }
}
Expand description
Trait shared by all Notes
Provided Methods§
fn get_type(&self) -> Type
fn get_type(&self) -> Type
Return the type of the note. This type does not match the NT_
type
value. For accessing the original NT_
value, check NoteBase::original_type
fn original_type(&self) -> u32
fn original_type(&self) -> u32
The original NT_xxx
integer value. The meaning of this value likely
depends on the owner of the note.
fn description(&self) -> &[u8] ⓘ
fn description(&self) -> &[u8] ⓘ
Return the description associated with the note