pub struct PythonEnvironmentConfig {Show 14 fields
pub enabled: bool,
pub cache_root: String,
pub uv_program: String,
pub uv_version: String,
pub python_executable: String,
pub runtime_implementation: String,
pub runtime_version: String,
pub runtime_platform: String,
pub wheel_platform_tag: String,
pub sdk_wheel: String,
pub sdk_wheel_sha256: String,
pub offline: bool,
pub update: bool,
pub policy_version: u32,
}Expand description
Product configuration for immutable PEP 723 Python environments.
The lifecycle is disabled by default. When enabled, every identity-bearing field is required so cache keys never depend on ambient interpreter state.
Fields§
§enabled: bool§cache_root: String§uv_program: String§uv_version: String§python_executable: String§runtime_implementation: String§runtime_version: String§runtime_platform: String§wheel_platform_tag: String§sdk_wheel: String§sdk_wheel_sha256: String§offline: bool§update: bool§policy_version: u32Trait Implementations§
Source§impl Clone for PythonEnvironmentConfig
impl Clone for PythonEnvironmentConfig
Source§fn clone(&self) -> PythonEnvironmentConfig
fn clone(&self) -> PythonEnvironmentConfig
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 PythonEnvironmentConfig
impl Debug for PythonEnvironmentConfig
Source§impl Default for PythonEnvironmentConfig
impl Default for PythonEnvironmentConfig
Source§impl<'de> Deserialize<'de> for PythonEnvironmentConfigwhere
PythonEnvironmentConfig: Default,
impl<'de> Deserialize<'de> for PythonEnvironmentConfigwhere
PythonEnvironmentConfig: Default,
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 PythonEnvironmentConfig
impl PartialEq for PythonEnvironmentConfig
Source§fn eq(&self, other: &PythonEnvironmentConfig) -> bool
fn eq(&self, other: &PythonEnvironmentConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PythonEnvironmentConfig
impl Serialize for PythonEnvironmentConfig
impl Eq for PythonEnvironmentConfig
impl StructuralPartialEq for PythonEnvironmentConfig
Auto Trait Implementations§
impl Freeze for PythonEnvironmentConfig
impl RefUnwindSafe for PythonEnvironmentConfig
impl Send for PythonEnvironmentConfig
impl Sync for PythonEnvironmentConfig
impl Unpin for PythonEnvironmentConfig
impl UnsafeUnpin for PythonEnvironmentConfig
impl UnwindSafe for PythonEnvironmentConfig
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