pub struct RepoRef {
pub urls: Vec<String>,
pub display_name: String,
}Expand description
A repo referenced by a review, before it’s resolved to a canonical local repo. Serialized into
state.json (as part of ReviewEntry) so rq fetch/the TUI can resolve it later without
re-querying the source.
Fields§
§urls: Vec<String>Candidate clone URLs (mirrors, ssh/https variants) - matched against discovered workdir repos and the tool-managed clone registry after normalization.
display_name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for RepoRef
impl<'de> Deserialize<'de> for RepoRef
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
Auto Trait Implementations§
impl Freeze for RepoRef
impl RefUnwindSafe for RepoRef
impl Send for RepoRef
impl Sync for RepoRef
impl Unpin for RepoRef
impl UnsafeUnpin for RepoRef
impl UnwindSafe for RepoRef
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