pub struct Entry {
pub name: String,
pub paths: Vec<String>,
pub share: Share,
pub experts: Vec<ExpertSource>,
pub relay: Option<String>,
pub mode: Option<String>,
}Fields§
§name: String§paths: Vec<String>§experts: Vec<ExpertSource>Repos whose expertise this collective’s drones may consult at the Stop checkpoint (expert_route.rs). Absent or empty: the feature is off for this collective.
relay: Option<String>How the mesh reaches this collective’s members across NAT (borg-mesh): absent or
"default" for n0’s public relays and address lookup, "disabled" for direct addresses
only (LAN or VPN), or the URL of a self-hosted iroh-relay. BORG_RELAY overrides it.
mode: Option<String>When the conscience judges the work (live.rs): "hook" at the turn end, or "live" (the
default) also during the turn. BORG_MODE overrides it; any other value is the default, with a warning
in borg doctor. A string, not an enum: an unknown value must not invalidate the whole config.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
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
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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