pub struct RecordedCommands { /* private fields */ }
Implementations§
Source§impl RecordedCommands
impl RecordedCommands
pub fn add_invocation(&mut self, invocation: CommandInvocation)
pub fn find_invocation( &self, binary_name: &str, args: &[String], ) -> Option<&CommandInvocation>
Trait Implementations§
Source§impl Debug for RecordedCommands
impl Debug for RecordedCommands
Source§impl Default for RecordedCommands
impl Default for RecordedCommands
Source§fn default() -> RecordedCommands
fn default() -> RecordedCommands
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecordedCommands
impl<'de> Deserialize<'de> for RecordedCommands
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 RecordedCommands
impl RefUnwindSafe for RecordedCommands
impl Send for RecordedCommands
impl Sync for RecordedCommands
impl Unpin for RecordedCommands
impl UnwindSafe for RecordedCommands
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