pub struct Software {
pub name: String,
pub version: String,
pub author: Option<String>,
pub homepage: Option<String>,
}Expand description
A core/software record: a piece of software, named and versioned.
Fields§
§name: StringThe software’s name.
version: StringIts version, as written – not necessarily semantic.
Who wrote it.
homepage: Option<String>Where to find it.
Implementations§
Trait Implementations§
impl Eq for Software
impl StructuralPartialEq for Software
Auto Trait Implementations§
impl Freeze for Software
impl RefUnwindSafe for Software
impl Send for Software
impl Sync for Software
impl Unpin for Software
impl UnsafeUnpin for Software
impl UnwindSafe for Software
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