pub struct PrepareUpdateOptions {Show 13 fields
pub manifest_url: String,
pub platform: Option<String>,
pub current_version: Option<String>,
pub current_artifact_path: Option<PathBuf>,
pub output_path: Option<PathBuf>,
pub patch_path: Option<PathBuf>,
pub cache_dir: Option<PathBuf>,
pub hpatchz_path: Option<PathBuf>,
pub signature_public_key: Option<String>,
pub require_signature: bool,
pub force: bool,
pub headers: Vec<HttpHeader>,
pub timeout_secs: Option<u64>,
}Fields§
§manifest_url: String§platform: Option<String>§current_version: Option<String>§current_artifact_path: Option<PathBuf>§output_path: Option<PathBuf>§patch_path: Option<PathBuf>§cache_dir: Option<PathBuf>§hpatchz_path: Option<PathBuf>§signature_public_key: Option<String>§require_signature: bool§force: bool§headers: Vec<HttpHeader>§timeout_secs: Option<u64>Trait Implementations§
Source§impl Clone for PrepareUpdateOptions
impl Clone for PrepareUpdateOptions
Source§fn clone(&self) -> PrepareUpdateOptions
fn clone(&self) -> PrepareUpdateOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrepareUpdateOptions
impl Debug for PrepareUpdateOptions
Source§impl<'de> Deserialize<'de> for PrepareUpdateOptions
impl<'de> Deserialize<'de> for PrepareUpdateOptions
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 PrepareUpdateOptions
impl RefUnwindSafe for PrepareUpdateOptions
impl Send for PrepareUpdateOptions
impl Sync for PrepareUpdateOptions
impl Unpin for PrepareUpdateOptions
impl UnsafeUnpin for PrepareUpdateOptions
impl UnwindSafe for PrepareUpdateOptions
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