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 PartialOrd for WantedRef
impl PartialOrd for WantedRef
impl Eq for WantedRef
impl StructuralPartialEq for WantedRef
Auto Trait Implementations§
impl Freeze for WantedRef
impl RefUnwindSafe for WantedRef
impl Send for WantedRef
impl Sync for WantedRef
impl Unpin for WantedRef
impl UnwindSafe for WantedRef
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)