pub enum ConfigField {
Show 22 variants
StateDir,
Listen,
OctoprintUrl,
OctoprintApiKey,
OctoprintFan,
SafetyEnvelope,
Harness,
Model,
SkillPath,
PromptTemplatePath,
ObservationIntervalS,
IngressAnswerBoundMs,
IngressSharedSecret,
ApiCredential,
ApiCredentialVerifier,
CameraSnapshotUrl,
ObicoUrl,
ObicoAccessToken,
SpoolsPreflight,
SpoolsBufferPercent,
SpoolsBufferMinG,
SpoolsAnalysisWaitSeconds,
}Expand description
Every value this program is configured with, and the key it is spelled under.
The walk in this crate’s tier is over this array, and the array is compared against the configuration shapes’ own declared properties, so neither can grow a field the other does not know about.
Variants§
StateDir
Where the store, the images and the sessions live.
Listen
The address the API and the ingress are served on.
OctoprintUrl
Where the OctoPrint instance answers.
OctoprintApiKey
The key that instance authenticates every request by.
OctoprintFan
Whether the machine has a part-cooling fan this server may command.
SafetyEnvelope
The operator’s safety envelope.
Harness
The harness identity supervision turns run on.
Model
The model turns are pinned to, when one is pinned.
SkillPath
The PrintObserver skill sent as every turn’s system prompt.
PromptTemplatePath
The prompt template one turn fills.
ObservationIntervalS
How often every active print is observed, in seconds.
IngressAnswerBoundMs
How long the ingress may take to answer, in milliseconds.
The shared secret the ingress requires of every post.
ApiCredential
A plaintext operator credential, read for an installation that wrote one until it is replaced by its verifier.
ApiCredentialVerifier
The verifier the operator’s credential is checked against.
CameraSnapshotUrl
Where a fresh frame of the print is fetched from, when a camera is configured.
ObicoUrl
Where Obico’s own API answers, when it is configured.
ObicoAccessToken
The bearer token Obico’s API is reached with.
SpoolsPreflight
What a start does when the spool check finds a problem.
SpoolsBufferPercent
The margin asked beyond a print’s requirement, as a percentage of it.
SpoolsBufferMinG
The least margin asked, in grams.
SpoolsAnalysisWaitSeconds
How long a start waits for a file’s analysis, in seconds.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigField
impl Clone for ConfigField
impl Copy for ConfigField
Source§impl Debug for ConfigField
impl Debug for ConfigField
Source§impl Display for ConfigField
impl Display for ConfigField
impl Eq for ConfigField
Source§impl Hash for ConfigField
impl Hash for ConfigField
Source§impl Ord for ConfigField
impl Ord for ConfigField
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ConfigField
impl PartialEq for ConfigField
Source§impl PartialOrd for ConfigField
impl PartialOrd for ConfigField
impl StructuralPartialEq for ConfigField
Auto Trait Implementations§
impl Freeze for ConfigField
impl RefUnwindSafe for ConfigField
impl Send for ConfigField
impl Sync for ConfigField
impl Unpin for ConfigField
impl UnsafeUnpin for ConfigField
impl UnwindSafe for ConfigField
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more