pub struct ConfigPatchInput {
pub source: PatchSource,
pub provenance: PatchProvenance,
pub declared_in: PathBuf,
}Expand description
One config-derived patch entry as the orchestration layer
hands it off to the resolver. The orchestration layer maps
cabin_config::EffectivePatch into this shape so this crate
stays free of cabin-config dependency.
Fields§
§source: PatchSource§provenance: PatchProvenance§declared_in: PathBufDirectory of the config file that declared this patch.
Trait Implementations§
Source§impl Clone for ConfigPatchInput
impl Clone for ConfigPatchInput
Source§fn clone(&self) -> ConfigPatchInput
fn clone(&self) -> ConfigPatchInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConfigPatchInput
impl RefUnwindSafe for ConfigPatchInput
impl Send for ConfigPatchInput
impl Sync for ConfigPatchInput
impl Unpin for ConfigPatchInput
impl UnsafeUnpin for ConfigPatchInput
impl UnwindSafe for ConfigPatchInput
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