pub struct Configuration {Show 13 fields
pub build_info: BuildInformation,
pub build_source: String,
pub changelog_url: String,
pub conceptualhq: String,
pub edition: String,
pub license_validity: Option<LicenseValidity>,
pub posthog: String,
pub product_fruits: String,
pub revision: String,
pub runtime_revision: String,
pub unstable_features: Option<String>,
pub update_info: Option<UpdateInformation>,
pub version: String,
}Expand description
Configuration
JSON schema
{
"type": "object",
"required": [
"build_info",
"build_source",
"changelog_url",
"conceptualhq",
"edition",
"posthog",
"product_fruits",
"revision",
"runtime_revision",
"version"
],
"properties": {
"build_info": {
"$ref": "#/components/schemas/BuildInformation"
},
"build_source": {
"description": "Build source: \"ci\" for GitHub Actions builds, \"source\" for local builds",
"type": "string"
},
"changelog_url": {
"description": "URL that navigates to the changelog of the current version",
"type": "string"
},
"conceptualhq": {
"description": "ConceptualHQ analytics key. Empty when disabled.",
"type": "string"
},
"edition": {
"description": "Feldera edition: \"Open source\", \"Enterprise\" or \"EnterpriseDev\"",
"type": "string"
},
"license_validity": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/LicenseValidity"
}
]
}
]
},
"posthog": {
"description": "PostHog telemetry key. Empty when disabled.",
"type": "string"
},
"product_fruits": {
"description": "Product Fruits workspace code for in-app onboarding. Empty when disabled.",
"type": "string"
},
"revision": {
"description": "Specific revision corresponding to the edition `version` (e.g., git commit hash).",
"type": "string"
},
"runtime_revision": {
"description": "Specific revision corresponding to the default runtime version of the platform (e.g., git commit hash).",
"type": "string"
},
"unstable_features": {
"description": "List of unstable features that are enabled.",
"type": [
"string",
"null"
]
},
"update_info": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/UpdateInformation"
}
]
}
]
},
"version": {
"description": "The version corresponding to the type of `edition`.\nFormat is `x.y.z`.",
"type": "string"
}
}
}Fields§
§build_info: BuildInformation§build_source: StringBuild source: “ci” for GitHub Actions builds, “source” for local builds
changelog_url: StringURL that navigates to the changelog of the current version
conceptualhq: StringConceptualHQ analytics key. Empty when disabled.
edition: StringFeldera edition: “Open source”, “Enterprise” or “EnterpriseDev”
license_validity: Option<LicenseValidity>§posthog: StringPostHog telemetry key. Empty when disabled.
product_fruits: StringProduct Fruits workspace code for in-app onboarding. Empty when disabled.
revision: StringSpecific revision corresponding to the edition version (e.g., git commit hash).
runtime_revision: StringSpecific revision corresponding to the default runtime version of the platform (e.g., git commit hash).
unstable_features: Option<String>List of unstable features that are enabled.
update_info: Option<UpdateInformation>§version: StringThe version corresponding to the type of edition.
Format is x.y.z.
Implementations§
Source§impl Configuration
impl Configuration
pub fn builder() -> Configuration
Trait Implementations§
Source§impl Clone for Configuration
impl Clone for Configuration
Source§impl Debug for Configuration
impl Debug for Configuration
Source§impl<'de> Deserialize<'de> for Configuration
impl<'de> Deserialize<'de> for Configuration
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 From<&Configuration> for Configuration
impl From<&Configuration> for Configuration
Source§fn from(value: &Configuration) -> Self
fn from(value: &Configuration) -> Self
Converts to this type from the input type.
Source§impl From<Configuration> for Configuration
impl From<Configuration> for Configuration
Source§fn from(value: Configuration) -> Self
fn from(value: Configuration) -> Self
Converts to this type from the input type.
Source§impl Serialize for Configuration
impl Serialize for Configuration
Source§impl TryFrom<Configuration> for Configuration
impl TryFrom<Configuration> for Configuration
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: Configuration) -> Result<Self, ConversionError>
fn try_from(value: Configuration) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for Configuration
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnsafeUnpin for Configuration
impl UnwindSafe for Configuration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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> ⓘ
Converts
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> ⓘ
Converts
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