pub struct Registered {
pub id: String,
pub repo: String,
pub commit: String,
pub url: String,
pub guide: String,
pub page: String,
pub page_url: String,
pub label: String,
pub aliases: Vec<String>,
pub question_prefix: String,
}Expand description
What preview register validated and printed.
Fields§
§id: String§repo: String§commit: String§url: String§guide: StringThe guide, absolute.
page: Stringindex.html beside the guide, absolute; empty when read from a
release that rendered none.
page_url: StringThe page as a file:// URL.
label: StringWhat the marked question must show: <checkout>@<sha7>.
aliases: Vec<String>Other labels that name the same commit: the main worktree’s
directory and the origin repository’s name, each @<sha7>.
question_prefix: StringWhat the marked question starts with, verbatim:
[preview <id>] <label>. Empty when read from a release that printed
none.
Implementations§
Trait Implementations§
Source§impl Clone for Registered
impl Clone for Registered
Source§impl Debug for Registered
impl Debug for Registered
impl Eq for Registered
Source§impl PartialEq for Registered
impl PartialEq for Registered
impl StructuralPartialEq for Registered
Auto Trait Implementations§
impl Freeze for Registered
impl RefUnwindSafe for Registered
impl Send for Registered
impl Sync for Registered
impl Unpin for Registered
impl UnsafeUnpin for Registered
impl UnwindSafe for Registered
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.