pub struct AllowedEdit {
pub file: Utf8PathBuf,
pub start_line: u32,
pub end_line: u32,
}Expand description
The single contiguous line range a replay step is permitted to edit.
Fields§
§file: Utf8PathBufFile the edit applies to.
start_line: u32One-based first editable line.
end_line: u32One-based last editable line.
Trait Implementations§
Source§impl Clone for AllowedEdit
impl Clone for AllowedEdit
Source§fn clone(&self) -> AllowedEdit
fn clone(&self) -> AllowedEdit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AllowedEdit
impl Debug for AllowedEdit
Source§impl<'de> Deserialize<'de> for AllowedEdit
impl<'de> Deserialize<'de> for AllowedEdit
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
impl Eq for AllowedEdit
Source§impl PartialEq for AllowedEdit
impl PartialEq for AllowedEdit
Source§fn eq(&self, other: &AllowedEdit) -> bool
fn eq(&self, other: &AllowedEdit) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AllowedEdit
impl Serialize for AllowedEdit
impl StructuralPartialEq for AllowedEdit
Auto Trait Implementations§
impl Freeze for AllowedEdit
impl RefUnwindSafe for AllowedEdit
impl Send for AllowedEdit
impl Sync for AllowedEdit
impl Unpin for AllowedEdit
impl UnsafeUnpin for AllowedEdit
impl UnwindSafe for AllowedEdit
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