pub struct UpdateCheckGates {
pub json: bool,
pub stdout_is_tty: bool,
pub stderr_is_tty: bool,
}Expand description
Injectable process gates for should_run_update_check (TTY + --json).
Fields§
§json: bool§stdout_is_tty: bool§stderr_is_tty: boolTrait Implementations§
Source§impl Clone for UpdateCheckGates
impl Clone for UpdateCheckGates
Source§fn clone(&self) -> UpdateCheckGates
fn clone(&self) -> UpdateCheckGates
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 moreimpl Copy for UpdateCheckGates
Auto Trait Implementations§
impl Freeze for UpdateCheckGates
impl RefUnwindSafe for UpdateCheckGates
impl Send for UpdateCheckGates
impl Sync for UpdateCheckGates
impl Unpin for UpdateCheckGates
impl UnsafeUnpin for UpdateCheckGates
impl UnwindSafe for UpdateCheckGates
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