pub struct ObservedInstruction { /* private fields */ }Implementations§
Source§impl ObservedInstruction
impl ObservedInstruction
pub fn arguments<T>(self, value: T) -> Self
pub fn index<T>(self, value: T) -> Self
pub fn instruction<T>(self, value: T) -> Self
pub fn program_id<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for ObservedInstruction
impl Clone for ObservedInstruction
Source§impl Debug for ObservedInstruction
impl Debug for ObservedInstruction
Source§impl Default for ObservedInstruction
impl Default for ObservedInstruction
Source§impl From<ObservedInstruction> for ObservedInstruction
impl From<ObservedInstruction> for ObservedInstruction
Source§fn from(value: ObservedInstruction) -> Self
fn from(value: ObservedInstruction) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ObservedInstruction> for ObservedInstruction
impl TryFrom<ObservedInstruction> for ObservedInstruction
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ObservedInstruction) -> Result<Self, ConversionError>
fn try_from(value: ObservedInstruction) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ObservedInstruction
impl RefUnwindSafe for ObservedInstruction
impl Send for ObservedInstruction
impl Sync for ObservedInstruction
impl Unpin for ObservedInstruction
impl UnsafeUnpin for ObservedInstruction
impl UnwindSafe for ObservedInstruction
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