pub struct WorkspaceMarker {
pub branch: String,
pub store_root: Utf8PathBuf,
}Expand description
Gitignored marker inside a workspace pointing back at the store, so newgit commands run from inside a workspace find the real metadata and know which instance they are standing in.
Fields§
§branch: String§store_root: Utf8PathBufTrait Implementations§
Source§impl Clone for WorkspaceMarker
impl Clone for WorkspaceMarker
Source§fn clone(&self) -> WorkspaceMarker
fn clone(&self) -> WorkspaceMarker
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 WorkspaceMarker
impl Debug for WorkspaceMarker
Source§impl<'de> Deserialize<'de> for WorkspaceMarker
impl<'de> Deserialize<'de> for WorkspaceMarker
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 WorkspaceMarker
Source§impl PartialEq for WorkspaceMarker
impl PartialEq for WorkspaceMarker
Source§impl Serialize for WorkspaceMarker
impl Serialize for WorkspaceMarker
impl StructuralPartialEq for WorkspaceMarker
Auto Trait Implementations§
impl Freeze for WorkspaceMarker
impl RefUnwindSafe for WorkspaceMarker
impl Send for WorkspaceMarker
impl Sync for WorkspaceMarker
impl Unpin for WorkspaceMarker
impl UnsafeUnpin for WorkspaceMarker
impl UnwindSafe for WorkspaceMarker
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