pub struct WtMeta {
pub base_ref: Option<String>,
pub pr_number: Option<u64>,
pub pr_state: Option<String>,
pub pr_title: Option<String>,
pub pr_url: Option<String>,
pub created_by_wt: bool,
}Expand description
Per-worktree metadata recorded by wt.
Fields§
§base_ref: Option<String>Base ref the branch was created from (§3).
pr_number: Option<u64>Originating PR number, for PR-checkout worktrees (§7).
pr_state: Option<String>Cached PR state, so wt list can show it offline (§3).
pr_title: Option<String>Cached PR title.
pr_url: Option<String>Cached PR URL, for the TUI detail pane (§10).
created_by_wt: boolWhether the branch/worktree was created by wt (§10).
Trait Implementations§
impl Eq for WtMeta
impl StructuralPartialEq for WtMeta
Auto Trait Implementations§
impl Freeze for WtMeta
impl RefUnwindSafe for WtMeta
impl Send for WtMeta
impl Sync for WtMeta
impl Unpin for WtMeta
impl UnsafeUnpin for WtMeta
impl UnwindSafe for WtMeta
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more