pub struct FormatPackage {
pub name: String,
pub version: Option<String>,
}Expand description
Package that contributed to a cached format.
Fields§
§name: StringPackage name.
version: Option<String>Package version, if known.
Trait Implementations§
Source§impl Clone for FormatPackage
impl Clone for FormatPackage
Source§fn clone(&self) -> FormatPackage
fn clone(&self) -> FormatPackage
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 FormatPackage
impl Debug for FormatPackage
impl Eq for FormatPackage
Source§impl PartialEq for FormatPackage
impl PartialEq for FormatPackage
Source§fn eq(&self, other: &FormatPackage) -> bool
fn eq(&self, other: &FormatPackage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FormatPackage
Auto Trait Implementations§
impl Freeze for FormatPackage
impl RefUnwindSafe for FormatPackage
impl Send for FormatPackage
impl Sync for FormatPackage
impl Unpin for FormatPackage
impl UnsafeUnpin for FormatPackage
impl UnwindSafe for FormatPackage
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