pub struct PinnedRepository {
pub name: &'static str,
pub url: &'static str,
pub commit: &'static str,
pub dest: &'static str,
pub license: &'static str,
}Expand description
A public repository pinned in validation/refs.lock.toml, which a design-file flight’s
design and log are read from.
Fields§
§name: &'static strIts name in the lock, which cargo xtask refs fetch <name> takes.
url: &'static strWhere it is cloned from.
commit: &'static strThe commit it is pinned at.
dest: &'static strIts checkout, from the repository root.
license: &'static strIts license, as GitHub’s license API reads its LICENSE.
Trait Implementations§
Source§impl Clone for PinnedRepository
impl Clone for PinnedRepository
Source§fn clone(&self) -> PinnedRepository
fn clone(&self) -> PinnedRepository
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 moreimpl Copy for PinnedRepository
Source§impl Debug for PinnedRepository
impl Debug for PinnedRepository
impl Eq for PinnedRepository
Source§impl PartialEq for PinnedRepository
impl PartialEq for PinnedRepository
Source§fn eq(&self, other: &PinnedRepository) -> bool
fn eq(&self, other: &PinnedRepository) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PinnedRepository
Auto Trait Implementations§
impl Freeze for PinnedRepository
impl RefUnwindSafe for PinnedRepository
impl Send for PinnedRepository
impl Sync for PinnedRepository
impl Unpin for PinnedRepository
impl UnsafeUnpin for PinnedRepository
impl UnwindSafe for PinnedRepository
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.