pub struct Trunk {
pub branch: Option<String>,
pub source: TrunkSource,
}Expand description
The trunk branch and how it was decided. Discovered state, never domain logic: master
here is a fact about this repository and main would be one about another.
Fields§
§branch: Option<String>The branch, short, when one was found.
source: TrunkSourceHow it was found.
Implementations§
Trait Implementations§
impl Eq for Trunk
impl StructuralPartialEq for Trunk
Auto Trait Implementations§
impl Freeze for Trunk
impl RefUnwindSafe for Trunk
impl Send for Trunk
impl Sync for Trunk
impl Unpin for Trunk
impl UnsafeUnpin for Trunk
impl UnwindSafe for Trunk
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.