pub struct RemoteConfig {
pub name: String,
pub url: String,
pub git_ref: String,
pub namespace: String,
pub pin: Option<SnapshotId>,
}Expand description
Configuration for a remote KG archive (maps to one entry in schema.yaml
remotes: list per ADR-037 §schema-yaml-remotes-section).
Fields§
§name: StringHuman-readable name for this remote (used in error messages and cache directory paths).
url: StringGit remote URL (e.g. https://github.com/org/kg-data.git).
git_ref: StringGit ref to check out (branch or tag, e.g. main).
namespace: StringNamespace to assign to imported records.
pin: Option<SnapshotId>Optional SHA-256 content-hash pin. When present, a mismatch between the fetched archive hash and this value aborts the sync (fail-closed).
Trait Implementations§
Source§impl Clone for RemoteConfig
impl Clone for RemoteConfig
Source§fn clone(&self) -> RemoteConfig
fn clone(&self) -> RemoteConfig
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 RemoteConfig
impl RefUnwindSafe for RemoteConfig
impl Send for RemoteConfig
impl Sync for RemoteConfig
impl Unpin for RemoteConfig
impl UnsafeUnpin for RemoteConfig
impl UnwindSafe for RemoteConfig
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