pub struct BranchEntry {
pub name: String,
pub is_head: bool,
pub branch_type: String,
}Expand description
A single branch entry.
Fields§
§name: String§is_head: bool§branch_type: StringTrait Implementations§
Source§impl Clone for BranchEntry
impl Clone for BranchEntry
Source§fn clone(&self) -> BranchEntry
fn clone(&self) -> BranchEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BranchEntry
impl Debug for BranchEntry
Source§impl<'de> Deserialize<'de> for BranchEntry
impl<'de> Deserialize<'de> for BranchEntry
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 BranchEntry
impl RefUnwindSafe for BranchEntry
impl Send for BranchEntry
impl Sync for BranchEntry
impl Unpin for BranchEntry
impl UnsafeUnpin for BranchEntry
impl UnwindSafe for BranchEntry
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