pub struct WriteScope {
pub allowed: Vec<PathBuf>,
pub edit_worktrees: Option<PathBuf>,
}Expand description
Absolute, canonical directories where write and edit may write without user approval.
Fields§
§allowed: Vec<PathBuf>§edit_worktrees: Option<PathBuf>Trait Implementations§
Source§impl Clone for WriteScope
impl Clone for WriteScope
Source§impl Debug for WriteScope
impl Debug for WriteScope
impl Eq for WriteScope
Source§impl PartialEq for WriteScope
impl PartialEq for WriteScope
impl StructuralPartialEq for WriteScope
Auto Trait Implementations§
impl Forget for WriteScope
impl Freeze for WriteScope
impl Move for WriteScope
impl RefUnwindSafe for WriteScope
impl Send for WriteScopewhere
RawVecInner: Send,
impl Sync for WriteScopewhere
RawVecInner: Sync,
impl Unpin for WriteScope
impl UnsafeUnpin for WriteScopewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for WriteScopewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.