Enum miden_client::rpc::NoteDetails
source · pub enum NoteDetails {
OffChain(NoteId, NoteMetadata, NoteInclusionDetails),
Public(Note, NoteInclusionDetails),
}Expand description
Describes the possible responses from the GetNotesById endpoint for a single note
Variants§
OffChain(NoteId, NoteMetadata, NoteInclusionDetails)
Public(Note, NoteInclusionDetails)
Implementations§
source§impl NoteDetails
impl NoteDetails
pub fn inclusion_details(&self) -> &NoteInclusionDetails
pub fn metadata(&self) -> &NoteMetadata
pub fn id(&self) -> NoteId
Auto Trait Implementations§
impl Freeze for NoteDetails
impl RefUnwindSafe for NoteDetails
impl Send for NoteDetails
impl Sync for NoteDetails
impl Unpin for NoteDetails
impl UnwindSafe for NoteDetails
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