pub struct GcpSandboxBinding {
pub launcher_path: BindingValue<String>,
pub allow_egress: BindingValue<bool>,
}Expand description
GCP sandbox binding configuration.
There is no durable parent to address: a Cloud Run sandbox is a subprocess of the workload’s own instance, created through a CLI on the container’s filesystem.
Fields§
§launcher_path: BindingValue<String>Path to the sandbox CLI inside the Cloud Run container
allow_egress: BindingValue<bool>Whether sandboxes may reach the network. Carried in the binding rather than passed per
create: the launcher takes --allow-egress per sandbox, and a limit the application
supplies is a limit it can decline to supply.
Trait Implementations§
Source§impl Clone for GcpSandboxBinding
impl Clone for GcpSandboxBinding
Source§fn clone(&self) -> GcpSandboxBinding
fn clone(&self) -> GcpSandboxBinding
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 GcpSandboxBinding
impl Debug for GcpSandboxBinding
Source§impl<'de> Deserialize<'de> for GcpSandboxBinding
impl<'de> Deserialize<'de> for GcpSandboxBinding
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 GcpSandboxBinding
Source§impl PartialEq for GcpSandboxBinding
impl PartialEq for GcpSandboxBinding
Source§impl Serialize for GcpSandboxBinding
impl Serialize for GcpSandboxBinding
impl StructuralPartialEq for GcpSandboxBinding
Auto Trait Implementations§
impl Freeze for GcpSandboxBinding
impl RefUnwindSafe for GcpSandboxBinding
impl Send for GcpSandboxBinding
impl Sync for GcpSandboxBinding
impl Unpin for GcpSandboxBinding
impl UnsafeUnpin for GcpSandboxBinding
impl UnwindSafe for GcpSandboxBinding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.