pub struct Worktree {
pub path_base64: String,
pub common_directory_base64: String,
}Fields§
§path_base64: String§common_directory_base64: StringImplementations§
Source§impl Worktree
impl Worktree
pub fn from_core(w: &WorktreeIdentity) -> Result<Self, CoreError>
pub fn core(&self, t: &TargetIdentity) -> Result<WorktreeIdentity, CoreError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Worktree
impl<'de> Deserialize<'de> for Worktree
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 Worktree
impl StructuralPartialEq for Worktree
Auto Trait Implementations§
impl Forget for Worktree
impl Freeze for Worktree
impl RefUnwindSafe for Worktree
impl Send for Worktree
impl Sync for Worktree
impl Unpin for Worktree
impl UnsafeUnpin for Worktree
impl UnwindSafe for Worktree
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