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