Struct tauri::api::config::UpdaterConfig [−][src]
pub struct UpdaterConfig { pub active: bool, pub dialog: bool, pub endpoints: Option<Vec<String, Global>>, pub pubkey: Option<String>, }
Expand description
The Updater configuration object.
Fields
active: bool
Whether the updater is active or not.
dialog: bool
Display built-in dialog or use event system if disabled.
endpoints: Option<Vec<String, Global>>
The updater endpoints.
pubkey: Option<String>
Optional pubkey.
Trait Implementations
Returns the “default value” for a type. Read more
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<UpdaterConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<UpdaterConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UpdaterConfig
impl Send for UpdaterConfig
impl Sync for UpdaterConfig
impl Unpin for UpdaterConfig
impl UnwindSafe for UpdaterConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Derives an instance of Self
from the CommandItem
. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V