Struct miden_client::store::NoteRecordDetails
source · pub struct NoteRecordDetails { /* private fields */ }Implementations§
source§impl NoteRecordDetails
impl NoteRecordDetails
pub fn new( nullifier: String, script: NoteScript, inputs: Vec<Felt>, serial_num: Word, ) -> Self
pub fn nullifier(&self) -> &str
pub fn script_hash(&self) -> &Digest
pub fn script(&self) -> &NoteScript
pub fn inputs(&self) -> &Vec<Felt>
pub fn serial_num(&self) -> Word
Trait Implementations§
source§impl Clone for NoteRecordDetails
impl Clone for NoteRecordDetails
source§fn clone(&self) -> NoteRecordDetails
fn clone(&self) -> NoteRecordDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for NoteRecordDetails
impl Debug for NoteRecordDetails
source§impl Deserializable for NoteRecordDetails
impl Deserializable for NoteRecordDetails
source§fn read_from<R: ByteReader>(
source: &mut R,
) -> Result<Self, DeserializationError>
fn read_from<R: ByteReader>( source: &mut R, ) -> Result<Self, DeserializationError>
Reads a sequence of bytes from the provided
source, attempts to deserialize these bytes
into Self, and returns the result. Read moresource§fn read_from_bytes(bytes: &[u8]) -> Result<Self, DeserializationError>
fn read_from_bytes(bytes: &[u8]) -> Result<Self, DeserializationError>
source§impl<'de> Deserialize<'de> for NoteRecordDetails
impl<'de> Deserialize<'de> for NoteRecordDetails
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
source§impl PartialEq for NoteRecordDetails
impl PartialEq for NoteRecordDetails
source§fn eq(&self, other: &NoteRecordDetails) -> bool
fn eq(&self, other: &NoteRecordDetails) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serializable for NoteRecordDetails
impl Serializable for NoteRecordDetails
source§fn write_into<W: ByteWriter>(&self, target: &mut W)
fn write_into<W: ByteWriter>(&self, target: &mut W)
Serializes
self into bytes and writes these bytes into the target.source§fn get_size_hint(&self) -> usize
fn get_size_hint(&self) -> usize
Returns an estimate of how many bytes are needed to represent self. Read more
source§impl Serialize for NoteRecordDetails
impl Serialize for NoteRecordDetails
impl StructuralPartialEq for NoteRecordDetails
Auto Trait Implementations§
impl Freeze for NoteRecordDetails
impl RefUnwindSafe for NoteRecordDetails
impl Send for NoteRecordDetails
impl Sync for NoteRecordDetails
impl Unpin for NoteRecordDetails
impl UnwindSafe for NoteRecordDetails
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)