pub struct ServiceConfig {
pub name: String,
pub description: String,
pub version: String,
pub category: String,
pub dependencies: Option<ServiceDependencies>,
pub environment_variables: Vec<EnvironmentVariable>,
pub files: Vec<ServiceFile>,
pub configuration_prompts: Vec<ServicePrompt>,
pub language_requirements: Option<Vec<String>>,
pub compatibility_rules: Option<Vec<CompatibilityRule>>,
}Fields§
§name: String§description: String§version: String§category: String§dependencies: Option<ServiceDependencies>§environment_variables: Vec<EnvironmentVariable>§files: Vec<ServiceFile>§configuration_prompts: Vec<ServicePrompt>§language_requirements: Option<Vec<String>>§compatibility_rules: Option<Vec<CompatibilityRule>>Implementations§
Source§impl ServiceConfig
impl ServiceConfig
pub async fn from_file(path: &Path) -> EngineResult<Self>
Trait Implementations§
Source§impl Clone for ServiceConfig
impl Clone for ServiceConfig
Source§fn clone(&self) -> ServiceConfig
fn clone(&self) -> ServiceConfig
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 ServiceConfig
impl Debug for ServiceConfig
Source§impl<'de> Deserialize<'de> for ServiceConfig
impl<'de> Deserialize<'de> for ServiceConfig
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 ServiceConfig
impl RefUnwindSafe for ServiceConfig
impl Send for ServiceConfig
impl Sync for ServiceConfig
impl Unpin for ServiceConfig
impl UnwindSafe for ServiceConfig
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