pub struct QueryEnvOpts {
pub privileged: Option<bool>,
pub writable: Option<bool>,
}
Fields§
§privileged: Option<bool>
Give the environment the same privileges as the caller: core API including host access, current module, and dependencies
writable: Option<bool>
Allow new outputs to be declared and saved in the environment
Trait Implementations§
Source§impl Debug for QueryEnvOpts
impl Debug for QueryEnvOpts
Source§impl PartialEq for QueryEnvOpts
impl PartialEq for QueryEnvOpts
impl StructuralPartialEq for QueryEnvOpts
Auto Trait Implementations§
impl Freeze for QueryEnvOpts
impl RefUnwindSafe for QueryEnvOpts
impl Send for QueryEnvOpts
impl Sync for QueryEnvOpts
impl Unpin for QueryEnvOpts
impl UnwindSafe for QueryEnvOpts
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