pub struct BranchItem {
pub name: String,
pub full_ref: String,
pub kind: BranchKind,
pub current: bool,
}Fields§
§name: String§full_ref: String§kind: BranchKind§current: boolTrait Implementations§
Source§impl Clone for BranchItem
impl Clone for BranchItem
Source§fn clone(&self) -> BranchItem
fn clone(&self) -> BranchItem
Returns a duplicate of the value. Read more
1.0.0 · 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 BranchItem
impl Debug for BranchItem
Source§impl<'de> Deserialize<'de> for BranchItem
impl<'de> Deserialize<'de> for BranchItem
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
Source§impl PartialEq for BranchItem
impl PartialEq for BranchItem
Source§impl Serialize for BranchItem
impl Serialize for BranchItem
impl Eq for BranchItem
impl StructuralPartialEq for BranchItem
Auto Trait Implementations§
impl Freeze for BranchItem
impl RefUnwindSafe for BranchItem
impl Send for BranchItem
impl Sync for BranchItem
impl Unpin for BranchItem
impl UnwindSafe for BranchItem
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