pub struct UpdateInfo { /* private fields */ }Implementations§
Source§impl UpdateInfo
impl UpdateInfo
pub fn parse(s: &str) -> Result<Self>
pub fn raw(&self) -> &str
pub fn with_target_tag(self, tag: &str) -> Self
pub fn is_forge(&self) -> bool
pub fn forge_info(&self) -> Option<&ForgeUpdateInfo>
pub fn generic_info(&self) -> Option<&GenericUpdateInfo>
pub fn type_label(&self) -> &'static str
pub fn type_display_name(&self) -> &'static str
pub fn list_releases(&self) -> Result<Vec<ReleaseInfo>>
pub fn zsync_url(&self) -> Result<String>
Trait Implementations§
Source§impl Clone for UpdateInfo
impl Clone for UpdateInfo
Source§fn clone(&self) -> UpdateInfo
fn clone(&self) -> UpdateInfo
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 moreAuto Trait Implementations§
impl !Freeze for UpdateInfo
impl !RefUnwindSafe for UpdateInfo
impl Send for UpdateInfo
impl !Sync for UpdateInfo
impl Unpin for UpdateInfo
impl UnsafeUnpin for UpdateInfo
impl UnwindSafe for UpdateInfo
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