pub struct UpdateHint {
pub channel: InstallChannel,
pub command: Option<String>,
}Expand description
The command a person runs to update, printed and never run: the channel that installed the binary owns updating it.
Fields§
§channel: InstallChannel§command: Option<String>None for a binary built from source, which nothing updates.
Trait Implementations§
Source§impl Clone for UpdateHint
impl Clone for UpdateHint
Source§impl Debug for UpdateHint
impl Debug for UpdateHint
Source§impl<'de> Deserialize<'de> for UpdateHint
impl<'de> Deserialize<'de> for UpdateHint
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
impl Eq for UpdateHint
Source§impl PartialEq for UpdateHint
impl PartialEq for UpdateHint
Source§impl Serialize for UpdateHint
impl Serialize for UpdateHint
impl StructuralPartialEq for UpdateHint
Auto Trait Implementations§
impl Freeze for UpdateHint
impl RefUnwindSafe for UpdateHint
impl Send for UpdateHint
impl Sync for UpdateHint
impl Unpin for UpdateHint
impl UnsafeUnpin for UpdateHint
impl UnwindSafe for UpdateHint
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