pub struct AvailableVersion {
pub version: String,
pub note: Option<String>,
pub additions: Vec<AvailableAddition>,
}Expand description
A version published by a plugin.
Fields§
§version: StringVersion string as understood by the plugin.
note: Option<String>Optional human-readable note.
additions: Vec<AvailableAddition>Additional packages associated with the version.
Trait Implementations§
Source§impl Clone for AvailableVersion
impl Clone for AvailableVersion
Source§fn clone(&self) -> AvailableVersion
fn clone(&self) -> AvailableVersion
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 AvailableVersion
impl Debug for AvailableVersion
Source§impl<'de> Deserialize<'de> for AvailableVersion
impl<'de> Deserialize<'de> for AvailableVersion
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 PartialEq for AvailableVersion
impl PartialEq for AvailableVersion
Source§impl Serialize for AvailableVersion
impl Serialize for AvailableVersion
impl Eq for AvailableVersion
impl StructuralPartialEq for AvailableVersion
Auto Trait Implementations§
impl Freeze for AvailableVersion
impl RefUnwindSafe for AvailableVersion
impl Send for AvailableVersion
impl Sync for AvailableVersion
impl Unpin for AvailableVersion
impl UnsafeUnpin for AvailableVersion
impl UnwindSafe for AvailableVersion
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