pub struct NoteData {
pub account: String,
pub comment: String,
pub metadata: Vec<(String, MetaValueData)>,
}Expand description
Note data.
Fields§
§account: StringAccount name.
comment: StringNote comment.
metadata: Vec<(String, MetaValueData)>Metadata key-value pairs.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NoteData
impl<'de> Deserialize<'de> for NoteData
Source§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
Auto Trait Implementations§
impl Freeze for NoteData
impl RefUnwindSafe for NoteData
impl Send for NoteData
impl Sync for NoteData
impl Unpin for NoteData
impl UnsafeUnpin for NoteData
impl UnwindSafe for NoteData
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