Struct cd::Coordinate
source · pub struct Coordinate {
pub shape: Shape,
pub provider: Provider,
pub namespace: Option<String>,
pub name: String,
pub version: CoordVersion,
pub curation_pr: Option<u32>,
}
Expand description
Defines the coordinates of a specific component
For example, crate/cratesio/-/syn/1.0.14
Fields§
§shape: Shape
The shape/kind of the component
provider: Provider
The provider/location of the component
namespace: Option<String>
Namespace of the component in the provider, or -
if the provider
does not have namespaces
name: String
The name of the component
version: CoordVersion
The revision of the component, provider dependent
curation_pr: Option<u32>
A curation PR to apply to existing harvested/curated data for the component
Trait Implementations§
source§impl Display for Coordinate
impl Display for Coordinate
Auto Trait Implementations§
impl Freeze for Coordinate
impl RefUnwindSafe for Coordinate
impl Send for Coordinate
impl Sync for Coordinate
impl Unpin for Coordinate
impl UnwindSafe for Coordinate
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