pub struct InspectionResult {
pub platform: String,
pub capabilities: Vec<SystemProxyCapabilityReport>,
pub settings: Option<SystemProxySettings>,
pub redacted_settings: Option<SystemProxySettings>,
pub apply_supported: bool,
pub dry_run_commands: Vec<Command>,
}Expand description
Full inspection result including capabilities and settings.
Fields§
§platform: StringDetected platform.
capabilities: Vec<SystemProxyCapabilityReport>Capability reports for all system proxy backends.
settings: Option<SystemProxySettings>Current proxy settings (if readable).
redacted_settings: Option<SystemProxySettings>Redacted version of settings (safe for logging).
apply_supported: boolWhether apply/revert is supported on this platform.
dry_run_commands: Vec<Command>Commands that would be used for apply (dry-run).
Trait Implementations§
Source§impl Clone for InspectionResult
impl Clone for InspectionResult
Source§fn clone(&self) -> InspectionResult
fn clone(&self) -> InspectionResult
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 InspectionResult
impl Debug for InspectionResult
Source§impl<'de> Deserialize<'de> for InspectionResult
impl<'de> Deserialize<'de> for InspectionResult
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 Display for InspectionResult
impl Display for InspectionResult
Auto Trait Implementations§
impl Freeze for InspectionResult
impl RefUnwindSafe for InspectionResult
impl Send for InspectionResult
impl Sync for InspectionResult
impl Unpin for InspectionResult
impl UnsafeUnpin for InspectionResult
impl UnwindSafe for InspectionResult
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