pub struct Link {
pub root: PathBuf,
pub server: String,
pub slug: String,
pub file_slug: String,
pub local: Option<Mapped>,
}Expand description
A .semora that is for the server this command uses.
Fields§
§root: PathBufThe folder that holds .semora (canonical).
server: StringThe origin of the server this command uses.
slug: StringThe project id the commands use.
file_slug: StringThe project id .semora names.
local: Option<Mapped>Set when the file is used for this server through a record on this machine
(semora project link), not because it names this server. A new project id then goes in
the record, never in the shared file.
Implementations§
Trait Implementations§
impl Eq for Link
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl Forget for Link
impl Freeze for Link
impl Move for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnsafeUnpin for Link
impl UnwindSafe for Link
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