pub struct RollbackState {
pub timestamp: String,
pub platform: String,
pub service: Option<String>,
pub http_proxy: Option<String>,
pub https_proxy: Option<String>,
pub socks_proxy: Option<String>,
pub no_proxy: Option<String>,
}Expand description
Rollback state saved before applying proxy changes.
Fields§
§timestamp: StringTimestamp of when the rollback was created.
platform: StringPlatform target.
service: Option<String>Network service or scope.
http_proxy: Option<String>Previous HTTP proxy.
https_proxy: Option<String>Previous HTTPS proxy.
socks_proxy: Option<String>Previous SOCKS proxy.
no_proxy: Option<String>Previous no-proxy/bypass list.
Implementations§
Trait Implementations§
Source§impl Clone for RollbackState
impl Clone for RollbackState
Source§fn clone(&self) -> RollbackState
fn clone(&self) -> RollbackState
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 RollbackState
impl Debug for RollbackState
Source§impl<'de> Deserialize<'de> for RollbackState
impl<'de> Deserialize<'de> for RollbackState
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 RollbackState
impl RefUnwindSafe for RollbackState
impl Send for RollbackState
impl Sync for RollbackState
impl Unpin for RollbackState
impl UnsafeUnpin for RollbackState
impl UnwindSafe for RollbackState
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