pub struct UpdaterConfig {
pub active: bool,
pub dialog: bool,
pub endpoints: Option<Vec<String>>,
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>>
The updater endpoints.
pubkey: Option<String>
Optional pubkey.
Trait Implementations§
Source§impl Clone for UpdaterConfig
impl Clone for UpdaterConfig
Source§fn clone(&self) -> UpdaterConfig
fn clone(&self) -> UpdaterConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 UpdaterConfig
impl Debug for UpdaterConfig
Source§impl Default for UpdaterConfig
impl Default for UpdaterConfig
Source§impl<'de> Deserialize<'de> for UpdaterConfig
impl<'de> Deserialize<'de> for UpdaterConfig
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 PartialEq for UpdaterConfig
impl PartialEq for UpdaterConfig
impl StructuralPartialEq for UpdaterConfig
Auto Trait Implementations§
impl Freeze for UpdaterConfig
impl RefUnwindSafe for UpdaterConfig
impl Send for UpdaterConfig
impl Sync for UpdaterConfig
impl Unpin for UpdaterConfig
impl UnwindSafe for UpdaterConfig
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