pub struct OpOptions {
pub provider: Option<Provider>,
pub env: BTreeMap<String, String>,
pub secrets: BTreeMap<String, String>,
pub host_label: Option<String>,
pub docker_context: Option<String>,
pub reveal: bool,
}Expand description
The runner’s options of an operation, on the wire. Secret values travel only over the owner-only endpoint and are never stored or logged.
Fields§
§provider: Option<Provider>The Vagrant provider, for a Vagrant project (a run keeps the one it started with).
env: BTreeMap<String, String>Values every tool of the operation gets, by name, as its format reads them.
secrets: BTreeMap<String, String>Sensitive values, by name: as env, but masked in every event and never stored.
host_label: Option<String>What to call the place the run is on.
docker_context: Option<String>The Docker context the run’s docker calls go to: given at up, recorded with the run,
used by every later operation that gives none.
reveal: boolA status read only: each sensitive output’s own value instead of ***. The service gives
it only over its owner-only endpoint; it is never in an event, never stored. Off by default.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpOptions
impl<'de> Deserialize<'de> for OpOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OpOptions
impl StructuralPartialEq for OpOptions
Auto Trait Implementations§
impl Forget for OpOptions
impl Freeze for OpOptions
impl Move for OpOptions
impl RefUnwindSafe for OpOptions
impl Send for OpOptions
impl Sync for OpOptions
impl Unpin for OpOptions
impl UnsafeUnpin for OpOptionswhere
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for OpOptions
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.