Struct gix_protocol::fetch::response::WantedRef
source · pub struct WantedRef {
pub id: ObjectId,
pub path: BString,
}
Available on crate features
blocking-client
or async-client
only.Expand description
A wanted-ref line received from the server.
Fields§
§id: ObjectId
The object id of the wanted ref, as seen by the server.
path: BString
The name of the ref, as requested by the client as a want-ref
argument.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for WantedRef
impl<'de> Deserialize<'de> for WantedRef
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 Ord for WantedRef
impl Ord for WantedRef
source§impl PartialEq<WantedRef> for WantedRef
impl PartialEq<WantedRef> for WantedRef
source§impl PartialOrd<WantedRef> for WantedRef
impl PartialOrd<WantedRef> for WantedRef
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 more