pub enum StoreFile {
Server {
id: String,
},
Secrets,
Clients,
Settings,
Sources,
Catalogs,
SkillMeta {
id: String,
},
Project {
id: String,
local: bool,
},
Machine {
machine_id: String,
},
Applied {
machine_id: String,
},
}Expand description
A store file, identified by its path relative to the store root (SPEC 4.5). Carries the id implied by the file or directory name.
Variants§
Server
servers/<id>.toml
Secrets
secrets.toml
Clients
clients.toml
Settings
settings.toml
Sources
sources.toml
Catalogs
catalogs.toml
SkillMeta
skill-meta/<id>.toml
Project
projects/<id>/project.toml or projects/<id>/project.local.toml
Machine
machines/<machine-id>.toml
Applied
machines/<machine-id>.applied.toml
Implementations§
Trait Implementations§
impl Eq for StoreFile
impl StructuralPartialEq for StoreFile
Auto Trait Implementations§
impl Forget for StoreFile
impl Freeze for StoreFile
impl Move for StoreFile
impl RefUnwindSafe for StoreFile
impl Send for StoreFilewhere
RawVecInner: Send,
impl Sync for StoreFilewhere
RawVecInner: Sync,
impl Unpin for StoreFile
impl UnsafeUnpin for StoreFile
impl UnwindSafe for StoreFilewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.