pub struct BranchProto {
pub name: String,
pub target_id: HashProto,
}Fields§
§name: String§target_id: HashProtoTrait Implementations§
Source§impl Clone for BranchProto
impl Clone for BranchProto
Source§fn clone(&self) -> BranchProto
fn clone(&self) -> BranchProto
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 BranchProto
impl Debug for BranchProto
Source§impl<'de> Deserialize<'de> for BranchProto
impl<'de> Deserialize<'de> for BranchProto
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 BranchProto
impl RefUnwindSafe for BranchProto
impl Send for BranchProto
impl Sync for BranchProto
impl Unpin for BranchProto
impl UnsafeUnpin for BranchProto
impl UnwindSafe for BranchProto
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