Struct protofetch::model::protofetch::Coordinate
source · pub struct Coordinate {
pub forge: String,
pub organization: String,
pub repository: String,
pub protocol: Protocol,
pub branch: Option<String>,
}Fields§
§forge: String§organization: String§repository: String§protocol: Protocol§branch: Option<String>Implementations§
source§impl Coordinate
impl Coordinate
Trait Implementations§
source§impl Clone for Coordinate
impl Clone for Coordinate
source§fn clone(&self) -> Coordinate
fn clone(&self) -> Coordinate
Returns a copy of the value. Read more
1.0.0 · 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 Coordinate
impl Debug for Coordinate
source§impl Default for Coordinate
impl Default for Coordinate
source§impl<'de> Deserialize<'de> for Coordinate
impl<'de> Deserialize<'de> for Coordinate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for Coordinate
impl Display for Coordinate
source§impl Hash for Coordinate
impl Hash for Coordinate
source§impl Ord for Coordinate
impl Ord for Coordinate
source§fn cmp(&self, other: &Coordinate) -> Ordering
fn cmp(&self, other: &Coordinate) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Coordinate> for Coordinate
impl PartialEq<Coordinate> for Coordinate
source§fn eq(&self, other: &Coordinate) -> bool
fn eq(&self, other: &Coordinate) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<Coordinate> for Coordinate
impl PartialOrd<Coordinate> for Coordinate
source§fn partial_cmp(&self, other: &Coordinate) -> Option<Ordering>
fn partial_cmp(&self, other: &Coordinate) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for Coordinate
impl Serialize for Coordinate
impl Eq for Coordinate
impl StructuralEq for Coordinate
impl StructuralPartialEq for Coordinate
Auto Trait Implementations§
impl RefUnwindSafe for Coordinate
impl Send for Coordinate
impl Sync for Coordinate
impl Unpin for Coordinate
impl UnwindSafe for Coordinate
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.