pub struct AvailableAddition {
pub name: String,
pub version: String,
pub note: Option<String>,
}Expand description
An additional package listed next to an available version.
Fields§
§name: StringPackage name.
version: StringPackage version.
note: Option<String>Optional note.
Trait Implementations§
Source§impl Clone for AvailableAddition
impl Clone for AvailableAddition
Source§fn clone(&self) -> AvailableAddition
fn clone(&self) -> AvailableAddition
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 AvailableAddition
impl Debug for AvailableAddition
Source§impl<'de> Deserialize<'de> for AvailableAddition
impl<'de> Deserialize<'de> for AvailableAddition
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 AvailableAddition
Source§impl PartialEq for AvailableAddition
impl PartialEq for AvailableAddition
Source§fn eq(&self, other: &AvailableAddition) -> bool
fn eq(&self, other: &AvailableAddition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AvailableAddition
impl Serialize for AvailableAddition
impl StructuralPartialEq for AvailableAddition
Auto Trait Implementations§
impl Freeze for AvailableAddition
impl RefUnwindSafe for AvailableAddition
impl Send for AvailableAddition
impl Sync for AvailableAddition
impl Unpin for AvailableAddition
impl UnsafeUnpin for AvailableAddition
impl UnwindSafe for AvailableAddition
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