pub struct Configuration {
pub build_info: BuildInformation,
pub changelog_url: String,
pub edition: String,
pub license_validity: Option<LicenseValidity>,
pub revision: String,
pub runtime_revision: String,
pub telemetry: String,
pub update_info: Option<UpdateInformation>,
pub version: String,
}
Expand description
Configuration
JSON schema
{
"type": "object",
"required": [
"build_info",
"changelog_url",
"edition",
"revision",
"runtime_revision",
"telemetry",
"version"
],
"properties": {
"build_info": {
"$ref": "#/components/schemas/BuildInformation"
},
"changelog_url": {
"description": "URL that navigates to the changelog of the current version",
"type": "string"
},
"edition": {
"description": "Feldera edition: \"Open source\" or \"Enterprise\"",
"type": "string"
},
"license_validity": {
"allOf": [
{
"$ref": "#/components/schemas/LicenseValidity"
}
]
},
"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"
},
"telemetry": {
"description": "Telemetry key.",
"type": "string"
},
"update_info": {
"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
§changelog_url: String
URL that navigates to the changelog of the current version
edition: String
Feldera edition: “Open source” or “Enterprise”
license_validity: Option<LicenseValidity>
§revision: String
Specific revision corresponding to the edition version
(e.g., git commit hash).
runtime_revision: String
Specific revision corresponding to the default runtime version of the platform (e.g., git commit hash).
telemetry: String
Telemetry key.
update_info: Option<UpdateInformation>
§version: String
The 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§fn clone(&self) -> Configuration
fn clone(&self) -> Configuration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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 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