pub struct MachineOverlay {
pub schema: i64,
pub machine_id: String,
pub label: String,
pub os: String,
pub enable: Option<MachineEnable>,
pub secrets: Option<BTreeMap<String, SecretEntry>>,
pub servers: Option<BTreeMap<String, ServerOverride>>,
pub projects: Option<BTreeMap<String, MachineProject>>,
pub delivery: Option<MachineDelivery>,
pub extra: Table,
}Fields§
§schema: i64Schema version; always 1.
machine_id: StringULID; equals the file name.
label: StringHuman label, also the commit author name.
os: Stringwindows, linux or macos.
enable: Option<MachineEnable>§secrets: Option<BTreeMap<String, SecretEntry>>Per-machine reference overrides by alias.
servers: Option<BTreeMap<String, ServerOverride>>Per-machine field overrides for system servers, by server id.
projects: Option<BTreeMap<String, MachineProject>>Where each project lives on this machine, by project id.
delivery: Option<MachineDelivery>How secrets are delivered on this machine (SPEC 11.4, 11.6).
extra: TableImplementations§
Trait Implementations§
Source§impl Clone for MachineOverlay
impl Clone for MachineOverlay
Source§impl Debug for MachineOverlay
impl Debug for MachineOverlay
Source§impl<'de> Deserialize<'de> for MachineOverlay
impl<'de> Deserialize<'de> for MachineOverlay
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
Source§impl JsonSchema for MachineOverlay
impl JsonSchema for MachineOverlay
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MachineOverlay
impl PartialEq for MachineOverlay
Source§impl Serialize for MachineOverlay
impl Serialize for MachineOverlay
Source§impl StoreModel for MachineOverlay
impl StoreModel for MachineOverlay
Source§const SCHEMA_NAME: &'static str = "machine"
const SCHEMA_NAME: &'static str = "machine"
File stem of the generated JSON Schema:
docs/schema/<NAME>.schema.json.impl StructuralPartialEq for MachineOverlay
Auto Trait Implementations§
impl Forget for MachineOverlay
impl Freeze for MachineOverlaywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, Vec<String>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Vec<String>)>>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const LeafNode<String, SecretEntry> is !null: Freeze,
PhantomData<Box<(String, SecretEntry)>>: Freeze,
*const LeafNode<String, ServerOverride> is !null: Freeze,
PhantomData<Box<(String, ServerOverride)>>: Freeze,
*const LeafNode<String, MachineProject> is !null: Freeze,
PhantomData<Box<(String, MachineProject)>>: Freeze,
impl Move for MachineOverlay
impl RefUnwindSafe for MachineOverlay
impl Send for MachineOverlaywhere
RawVecInner: Send,
NodeRef<Owned, String, Vec<String>, LeafOrInternal>: Send,
BoxRaw<(String, Vec<String>)>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, SecretEntry, LeafOrInternal>: Send,
BoxRaw<(String, SecretEntry)>: Send,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Send,
BoxRaw<(String, ServerOverride)>: Send,
NodeRef<Owned, String, MachineProject, LeafOrInternal>: Send,
BoxRaw<(String, MachineProject)>: Send,
impl Sync for MachineOverlaywhere
RawVecInner: Sync,
NodeRef<Owned, String, Vec<String>, LeafOrInternal>: Sync,
BoxRaw<(String, Vec<String>)>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, String, SecretEntry, LeafOrInternal>: Sync,
BoxRaw<(String, SecretEntry)>: Sync,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Sync,
BoxRaw<(String, ServerOverride)>: Sync,
NodeRef<Owned, String, MachineProject, LeafOrInternal>: Sync,
BoxRaw<(String, MachineProject)>: Sync,
impl Unpin for MachineOverlaywhere
*const u8 is !null: Unpin,
*const LeafNode<String, Vec<String>> is !null: Unpin,
Box<(String, Vec<String>)>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, SecretEntry> is !null: Unpin,
Box<(String, SecretEntry)>: Unpin,
*const LeafNode<String, ServerOverride> is !null: Unpin,
Box<(String, ServerOverride)>: Unpin,
*const LeafNode<String, MachineProject> is !null: Unpin,
Box<(String, MachineProject)>: Unpin,
impl UnsafeUnpin for MachineOverlaywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, Vec<String>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Vec<String>)>>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const LeafNode<String, SecretEntry> is !null: UnsafeUnpin,
PhantomData<Box<(String, SecretEntry)>>: UnsafeUnpin,
*const LeafNode<String, ServerOverride> is !null: UnsafeUnpin,
PhantomData<Box<(String, ServerOverride)>>: UnsafeUnpin,
*const LeafNode<String, MachineProject> is !null: UnsafeUnpin,
PhantomData<Box<(String, MachineProject)>>: UnsafeUnpin,
impl UnwindSafe for MachineOverlaywhere
RawVecInner: UnwindSafe,
BTreeMap<String, Vec<String>>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, SecretEntry>: UnwindSafe,
BTreeMap<String, ServerOverride>: UnwindSafe,
BTreeMap<String, MachineProject>: 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