pub struct BranchId(pub String);Expand description
Type-safe wrapper for branch identifiers.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for BranchId
impl<'de> Deserialize<'de> for BranchId
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
impl Eq for BranchId
impl StructuralPartialEq for BranchId
Auto Trait Implementations§
impl Freeze for BranchId
impl RefUnwindSafe for BranchId
impl Send for BranchId
impl Sync for BranchId
impl Unpin for BranchId
impl UnsafeUnpin for BranchId
impl UnwindSafe for BranchId
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