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