pub struct FetchRemoteAdvertisement<'a> {
pub refs: &'a [(String, ObjectId)],
pub head_oid: Option<ObjectId>,
}Expand description
Advertised remote state used while resolving fetch refspecs.
Fields§
§refs: &'a [(String, ObjectId)]Advertised (name, oid) pairs (no HEAD, no peeled ^{}).
head_oid: Option<ObjectId>Tip oid of the remote HEAD ref when advertised (even if omitted from refs).
Trait Implementations§
Source§impl<'a> Clone for FetchRemoteAdvertisement<'a>
impl<'a> Clone for FetchRemoteAdvertisement<'a>
impl<'a> Copy for FetchRemoteAdvertisement<'a>
Source§impl<'a> Debug for FetchRemoteAdvertisement<'a>
impl<'a> Debug for FetchRemoteAdvertisement<'a>
Auto Trait Implementations§
impl<'a> Freeze for FetchRemoteAdvertisement<'a>
impl<'a> RefUnwindSafe for FetchRemoteAdvertisement<'a>
impl<'a> Send for FetchRemoteAdvertisement<'a>
impl<'a> Sync for FetchRemoteAdvertisement<'a>
impl<'a> Unpin for FetchRemoteAdvertisement<'a>
impl<'a> UnsafeUnpin for FetchRemoteAdvertisement<'a>
impl<'a> UnwindSafe for FetchRemoteAdvertisement<'a>
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