pub struct BundleName {
pub name: String,
pub ext: &'static str,
}Expand description
The base name and extension of the bundle archive for the given version.
Fields§
§name: Stringe.g. mockserver-7.0.0-darwin-aarch64
ext: &'static stre.g. tar.gz
Trait Implementations§
Source§impl Clone for BundleName
impl Clone for BundleName
Source§fn clone(&self) -> BundleName
fn clone(&self) -> BundleName
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 BundleName
impl Debug for BundleName
impl Eq for BundleName
Source§impl PartialEq for BundleName
impl PartialEq for BundleName
Source§fn eq(&self, other: &BundleName) -> bool
fn eq(&self, other: &BundleName) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BundleName
Auto Trait Implementations§
impl Freeze for BundleName
impl RefUnwindSafe for BundleName
impl Send for BundleName
impl Sync for BundleName
impl Unpin for BundleName
impl UnsafeUnpin for BundleName
impl UnwindSafe for BundleName
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.