pub struct SandboxBackendProfile {
pub name: String,
pub kind: SandboxBackendProfileKind,
pub runtime: String,
pub hosted: bool,
pub deny_network_by_default: bool,
pub native_isolation: bool,
pub experimental: Option<bool>,
}Fields§
§name: String§kind: SandboxBackendProfileKind§runtime: String§hosted: bool§deny_network_by_default: bool§native_isolation: bool§experimental: Option<bool>Implementations§
Source§impl SandboxBackendProfile
impl SandboxBackendProfile
pub fn new( name: String, kind: SandboxBackendProfileKind, runtime: String, hosted: bool, deny_network_by_default: bool, native_isolation: bool, ) -> SandboxBackendProfile
Trait Implementations§
Source§impl Clone for SandboxBackendProfile
impl Clone for SandboxBackendProfile
Source§fn clone(&self) -> SandboxBackendProfile
fn clone(&self) -> SandboxBackendProfile
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 SandboxBackendProfile
impl Debug for SandboxBackendProfile
Source§impl Default for SandboxBackendProfile
impl Default for SandboxBackendProfile
Source§fn default() -> SandboxBackendProfile
fn default() -> SandboxBackendProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SandboxBackendProfile
impl<'de> Deserialize<'de> for SandboxBackendProfile
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
Source§impl PartialEq for SandboxBackendProfile
impl PartialEq for SandboxBackendProfile
Source§fn eq(&self, other: &SandboxBackendProfile) -> bool
fn eq(&self, other: &SandboxBackendProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SandboxBackendProfile
impl Serialize for SandboxBackendProfile
impl StructuralPartialEq for SandboxBackendProfile
Auto Trait Implementations§
impl Freeze for SandboxBackendProfile
impl RefUnwindSafe for SandboxBackendProfile
impl Send for SandboxBackendProfile
impl Sync for SandboxBackendProfile
impl Unpin for SandboxBackendProfile
impl UnsafeUnpin for SandboxBackendProfile
impl UnwindSafe for SandboxBackendProfile
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