pub struct PushDebugSession {
pub provider: String,
pub env: BTreeMap<String, String>,
pub files: Vec<DebugCredFile>,
pub setup_script: Option<String>,
pub expires_at: Option<String>,
}Fields§
§provider: StringShort identifier surfaced to the user (e.g. "aws", "gcp", "azure").
env: BTreeMap<String, String>Environment variables the CLI sets on the spawned process.
files: Vec<DebugCredFile>Files the CLI materializes under the per-session tempdir before exec.
When env_var is set, the CLI binds that env var to the resulting
absolute file path.
setup_script: Option<String>Optional shell snippet the CLI runs (sh -c) after env/files are set
up but before the user’s command. Must be idempotent.
expires_at: Option<String>RFC3339 expiry. None when the credential type doesn’t expose one.
Trait Implementations§
Source§impl Clone for PushDebugSession
impl Clone for PushDebugSession
Source§fn clone(&self) -> PushDebugSession
fn clone(&self) -> PushDebugSession
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 PushDebugSession
impl Debug for PushDebugSession
Source§impl<'de> Deserialize<'de> for PushDebugSession
impl<'de> Deserialize<'de> for PushDebugSession
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
Auto Trait Implementations§
impl Freeze for PushDebugSession
impl RefUnwindSafe for PushDebugSession
impl Send for PushDebugSession
impl Sync for PushDebugSession
impl Unpin for PushDebugSession
impl UnsafeUnpin for PushDebugSession
impl UnwindSafe for PushDebugSession
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