pub struct UpdaterConfig {
pub enabled: Option<bool>,
pub endpoints: Option<Vec<String>>,
pub pubkey: Option<String>,
}Expand description
Updater configuration
Fields§
§enabled: Option<bool>Enable updater
endpoints: Option<Vec<String>>Update endpoints
pubkey: Option<String>Public key
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<'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
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