pub struct Config {
pub dangerous_insecure_transport_protocol: bool,
pub dangerous_accept_invalid_certs: bool,
pub dangerous_accept_invalid_hostnames: bool,
pub endpoints: Vec<Url>,
pub pubkey: String,
pub windows: Option<WindowsConfig>,
}Expand description
Updater configuration.
Fields§
§dangerous_insecure_transport_protocol: boolDangerously allow using insecure transport protocols for update endpoints.
dangerous_accept_invalid_certs: boolDangerously accept invalid TLS certificates for update requests.
dangerous_accept_invalid_hostnames: boolDangerously accept invalid hostnames for TLS certificates for update requests.
endpoints: Vec<Url>Updater endpoints.
pubkey: StringSignature public key.
windows: Option<WindowsConfig>The Windows configuration for the updater.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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 Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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