pub struct Ctx {
pub client: Client,
pub out: Output,
pub host: String,
pub preview: bool,
/* private fields */
}Fields§
§client: Client§out: Output§host: String§preview: boolTrue when --preview was passed: mutating verbs print intent and exit 0
without making the mutating HTTP call.
Implementations§
Auto Trait Implementations§
impl !Freeze for Ctx
impl !RefUnwindSafe for Ctx
impl !Sync for Ctx
impl !UnwindSafe for Ctx
impl Send for Ctx
impl Unpin for Ctx
impl UnsafeUnpin for Ctx
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