Enum miden_objects::notes::NoteExecutionMode
source · #[repr(u8)]pub enum NoteExecutionMode {
Network = 0,
Local = 1,
}Expand description
Determines if a note is intended to be consumed by the network or not.
Variants§
Trait Implementations§
source§impl Clone for NoteExecutionMode
impl Clone for NoteExecutionMode
source§fn clone(&self) -> NoteExecutionMode
fn clone(&self) -> NoteExecutionMode
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 NoteExecutionMode
impl Debug for NoteExecutionMode
source§impl PartialEq for NoteExecutionMode
impl PartialEq for NoteExecutionMode
source§fn eq(&self, other: &NoteExecutionMode) -> bool
fn eq(&self, other: &NoteExecutionMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for NoteExecutionMode
impl Eq for NoteExecutionMode
impl StructuralPartialEq for NoteExecutionMode
Auto Trait Implementations§
impl Freeze for NoteExecutionMode
impl RefUnwindSafe for NoteExecutionMode
impl Send for NoteExecutionMode
impl Sync for NoteExecutionMode
impl Unpin for NoteExecutionMode
impl UnwindSafe for NoteExecutionMode
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