pub struct SandboxAccess {
pub sandbox_id: String,
pub access_ticket_token: Option<String>,
pub endpoint: Option<String>,
pub expires_at_ms: i64,
}Expand description
Sandbox handed to the driver. In-sandbox runners get their credential injected at creation and see no ticket here; out-of-sandbox drivers get a ticket scoped to this case run and expiring with the lease.
Fields§
§sandbox_id: String§access_ticket_token: Option<String>§endpoint: Option<String>§expires_at_ms: i64Trait Implementations§
Source§impl Clone for SandboxAccess
impl Clone for SandboxAccess
Source§fn clone(&self) -> SandboxAccess
fn clone(&self) -> SandboxAccess
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 SandboxAccess
impl Debug for SandboxAccess
Source§impl<'de> Deserialize<'de> for SandboxAccess
impl<'de> Deserialize<'de> for SandboxAccess
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 SandboxAccess
Source§impl PartialEq for SandboxAccess
impl PartialEq for SandboxAccess
Source§impl Serialize for SandboxAccess
impl Serialize for SandboxAccess
impl StructuralPartialEq for SandboxAccess
Auto Trait Implementations§
impl Freeze for SandboxAccess
impl RefUnwindSafe for SandboxAccess
impl Send for SandboxAccess
impl Sync for SandboxAccess
impl Unpin for SandboxAccess
impl UnsafeUnpin for SandboxAccess
impl UnwindSafe for SandboxAccess
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