pub struct DevelopWatchExec { /* private fields */ }Expand description
Side-effect-free develop.watch.exec configuration.
This only retains the hook declaration. It never starts a watcher, executes a command, resolves a user, or reads an environment file.
Implementations§
Source§impl DevelopWatchExec
impl DevelopWatchExec
pub const fn span(&self) -> SourceSpan
pub const fn command(&self) -> Option<&Command>
pub const fn user(&self) -> Option<&Located<String>>
pub const fn privileged(&self) -> Option<&Located<BooleanValue>>
pub const fn working_dir(&self) -> Option<&Located<String>>
pub const fn environment(&self) -> Option<&Environment>
pub fn unmodeled_fields(&self) -> &[FieldReference]
Trait Implementations§
Source§impl Clone for DevelopWatchExec
impl Clone for DevelopWatchExec
Source§fn clone(&self) -> DevelopWatchExec
fn clone(&self) -> DevelopWatchExec
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 DevelopWatchExec
impl Debug for DevelopWatchExec
impl Eq for DevelopWatchExec
Source§impl PartialEq for DevelopWatchExec
impl PartialEq for DevelopWatchExec
impl StructuralPartialEq for DevelopWatchExec
Auto Trait Implementations§
impl Freeze for DevelopWatchExec
impl RefUnwindSafe for DevelopWatchExec
impl Send for DevelopWatchExec
impl Sync for DevelopWatchExec
impl Unpin for DevelopWatchExec
impl UnsafeUnpin for DevelopWatchExec
impl UnwindSafe for DevelopWatchExec
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