pub struct ProjectEntry {
pub name: String,
pub layer: EntryLayer,
pub clients: ClientSelection,
pub from: Option<String>,
pub unset: Vec<String>,
pub enabled: bool,
pub body: EntryBody,
pub shared: Option<Box<ProjectEntry>>,
}Expand description
One server name of a project after both layers merged.
Fields§
§name: String§layer: EntryLayer§clients: ClientSelectionThe entry’s clients, else the merged [defaults].clients, else
all-detected (SPEC 6.1).
from: Option<String>The store server the entry starts from.
unset: Vec<String>Inherited keys removed after the merge.
enabled: boolThe merged enabled (true when absent).
body: EntryBodyFor a name both files define: the entry as project.toml alone
defines it (with its own [defaults]). It stays in the shared
project file of a client that holds the merged entry privately, so
a local override never changes the committed file.
Trait Implementations§
Source§impl Clone for ProjectEntry
impl Clone for ProjectEntry
Source§impl Debug for ProjectEntry
impl Debug for ProjectEntry
Source§impl PartialEq for ProjectEntry
impl PartialEq for ProjectEntry
impl StructuralPartialEq for ProjectEntry
Auto Trait Implementations§
impl Forget for ProjectEntry
impl Freeze for ProjectEntrywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const Server is !null: Freeze,
PhantomData<Server>: Freeze,
*const ProjectEntry is !null: Freeze,
PhantomData<ProjectEntry>: Freeze,
impl Move for ProjectEntry
impl RefUnwindSafe for ProjectEntry
impl Send for ProjectEntry
impl Sync for ProjectEntry
impl Unpin for ProjectEntry
impl UnsafeUnpin for ProjectEntrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const Server is !null: UnsafeUnpin,
PhantomData<Server>: UnsafeUnpin,
*const ProjectEntry is !null: UnsafeUnpin,
PhantomData<ProjectEntry>: UnsafeUnpin,
impl UnwindSafe for ProjectEntry
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