pub enum UpdateKitConfig {
Explicit {
app_name: String,
current_version: String,
base: BaseConfig,
},
Pkg {
app_name: Option<String>,
current_version: Option<String>,
pkg: PackageInfo,
base: BaseConfig,
},
}Expand description
Top-level configuration for UpdateKit.
Variants§
Trait Implementations§
Source§impl Clone for UpdateKitConfig
impl Clone for UpdateKitConfig
Source§fn clone(&self) -> UpdateKitConfig
fn clone(&self) -> UpdateKitConfig
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 UpdateKitConfig
impl Debug for UpdateKitConfig
Source§impl<'de> Deserialize<'de> for UpdateKitConfig
impl<'de> Deserialize<'de> for UpdateKitConfig
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 Serialize for UpdateKitConfig
impl Serialize for UpdateKitConfig
Source§impl TryFrom<UpdateKitConfig> for ResolvedConfig
impl TryFrom<UpdateKitConfig> for ResolvedConfig
Source§type Error = UpdateKitError
type Error = UpdateKitError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for UpdateKitConfig
impl RefUnwindSafe for UpdateKitConfig
impl Send for UpdateKitConfig
impl Sync for UpdateKitConfig
impl Unpin for UpdateKitConfig
impl UnsafeUnpin for UpdateKitConfig
impl UnwindSafe for UpdateKitConfig
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