pub struct Capture {
pub meta: Meta,
pub capability: Vec<Capability>,
pub keypress: Vec<KeyPress>,
}Expand description
A single recording session against one terminal environment.
This is a serialization DTO: new fields are added with #[serde(default)]
for data-level backward compatibility, so it is intentionally not
#[non_exhaustive] — callers (the recorder) construct it directly.
Fields§
§meta: MetaEnvironment metadata describing where and when this was recorded.
capability: Vec<Capability>Capability values observed (e.g. kitty keyboard protocol support).
keypress: Vec<KeyPress>The keypresses recorded, with the raw bytes each produced.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Capture
impl<'de> Deserialize<'de> for Capture
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 Capture
impl RefUnwindSafe for Capture
impl Send for Capture
impl Sync for Capture
impl Unpin for Capture
impl UnsafeUnpin for Capture
impl UnwindSafe for Capture
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