pub struct UpdateOptions {
pub version: String,
pub channel: String,
pub output: PathBuf,
pub existing: Option<PathBuf>,
}Available on crate feature
latest-json only.Expand description
Options for updating a channel-based latest.json file.
Fields§
§version: StringRelease version, with or without a leading v.
channel: StringUpdate channel, for example stable or beta.
output: PathBufOutput manifest path.
existing: Option<PathBuf>Existing manifest to merge into.
Trait Implementations§
Source§impl Clone for UpdateOptions
impl Clone for UpdateOptions
Auto Trait Implementations§
impl Forget for UpdateOptions
impl Freeze for UpdateOptions
impl Move for UpdateOptions
impl RefUnwindSafe for UpdateOptions
impl Send for UpdateOptions
impl Sync for UpdateOptions
impl Unpin for UpdateOptions
impl UnsafeUnpin for UpdateOptions
impl UnwindSafe for UpdateOptions
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