Struct tauri_utils::config::UpdaterConfig
source · [−]pub struct UpdaterConfig {
pub active: bool,
pub dialog: bool,
pub endpoints: Option<Vec<UpdaterEndpoint>>,
pub pubkey: String,
}Expand description
The Updater configuration object.
Fields
active: boolWhether the updater is active or not.
dialog: boolDisplay built-in dialog or use event system if disabled.
endpoints: Option<Vec<UpdaterEndpoint>>The updater endpoints. TLS is enforced on production.
pubkey: StringSignature public key.
Trait Implementations
sourceimpl Clone for UpdaterConfig
impl Clone for UpdaterConfig
sourcefn clone(&self) -> UpdaterConfig
fn clone(&self) -> UpdaterConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UpdaterConfig
impl Debug for UpdaterConfig
sourceimpl Default for UpdaterConfig
impl Default for UpdaterConfig
sourceimpl<'de> Deserialize<'de> for UpdaterConfig
impl<'de> Deserialize<'de> for UpdaterConfig
sourcefn 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
sourceimpl PartialEq<UpdaterConfig> for UpdaterConfig
impl PartialEq<UpdaterConfig> for UpdaterConfig
sourcefn eq(&self, other: &UpdaterConfig) -> bool
fn eq(&self, other: &UpdaterConfig) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UpdaterConfig) -> bool
fn ne(&self, other: &UpdaterConfig) -> bool
This method tests for !=.
sourceimpl Serialize for UpdaterConfig
impl Serialize for UpdaterConfig
impl StructuralPartialEq for UpdaterConfig
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more