pub struct ServiceDelta {Show 30 fields
pub accepts: Option<String>,
pub rejects: Option<String>,
pub auto_update: Option<bool>,
pub category: Option<String>,
pub classification: Option<ClassificationString>,
pub config: Option<JsonMap>,
pub description: Option<Text>,
pub default_result_classification: Option<ClassificationString>,
pub enabled: Option<bool>,
pub is_external: Option<bool>,
pub licence_count: Option<i32>,
pub max_queue_length: Option<i32>,
pub min_instances: Option<i32>,
pub uses_tags: Option<bool>,
pub uses_tag_scores: Option<bool>,
pub uses_temp_submission_data: Option<bool>,
pub uses_metadata: Option<bool>,
pub monitored_keys: Option<Vec<String>>,
pub name: Option<String>,
pub version: String,
pub privileged: Option<bool>,
pub disable_cache: Option<bool>,
pub stage: Option<String>,
pub submission_params: Option<Vec<SubmissionParamsDelta>>,
pub timeout: Option<i32>,
pub docker_config: Option<DockerConfigDelta>,
pub dependencies: Option<HashMap<String, DependencyConfigDelta>>,
pub update_channel: Option<ChannelKinds>,
pub update_config: Option<UpdateConfigDelta>,
pub recursion_prevention: Option<Vec<String>>,
}
Expand description
Service Delta relative to Initial Service Configuration
Fields§
§accepts: Option<String>
REF_SERVICE
rejects: Option<String>
REF_SERVICE
auto_update: Option<bool>
REF_SERVICE
category: Option<String>
REF_SERVICE
classification: Option<ClassificationString>
REF_SERVICE
config: Option<JsonMap>
REF_SERVICE
description: Option<Text>
REF_SERVICE
default_result_classification: Option<ClassificationString>
REF_SERVICE
enabled: Option<bool>
REF_SERVICE
is_external: Option<bool>
REF_SERVICE
licence_count: Option<i32>
REF_SERVICE
max_queue_length: Option<i32>
REF_SERVICE
min_instances: Option<i32>
REF_SERVICE
REF_SERVICE
uses_tag_scores: Option<bool>
REF_SERVICE
uses_temp_submission_data: Option<bool>
REF_SERVICE
uses_metadata: Option<bool>
REF_SERVICE
monitored_keys: Option<Vec<String>>
§name: Option<String>
REF_SERVICE
version: String
REF_SERVICE
privileged: Option<bool>
REF_SERVICE
disable_cache: Option<bool>
REF_SERVICE
stage: Option<String>
REF_SERVICE
submission_params: Option<Vec<SubmissionParamsDelta>>
REF_SERVICE
timeout: Option<i32>
REF_SERVICE
docker_config: Option<DockerConfigDelta>
REF_SERVICE
dependencies: Option<HashMap<String, DependencyConfigDelta>>
REF_SERVICE
update_channel: Option<ChannelKinds>
REF_SERVICE
update_config: Option<UpdateConfigDelta>
REF_SERVICE
recursion_prevention: Option<Vec<String>>
REF_SERVICE
Trait Implementations§
Source§impl Default for ServiceDelta
impl Default for ServiceDelta
Source§fn default() -> ServiceDelta
fn default() -> ServiceDelta
Returns the “default value” for a type. Read more
Source§impl Described<ElasticMeta> for ServiceDelta
impl Described<ElasticMeta> for ServiceDelta
Source§fn metadata() -> Descriptor<ElasticMeta>
fn metadata() -> Descriptor<ElasticMeta>
Get self description of this type
Source§impl<'de> Deserialize<'de> for ServiceDeltawhere
ServiceDelta: Default,
impl<'de> Deserialize<'de> for ServiceDeltawhere
ServiceDelta: Default,
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 Readable for ServiceDelta
impl Readable for ServiceDelta
fn set_from_archive(&mut self, _from_archive: bool)
Auto Trait Implementations§
impl Freeze for ServiceDelta
impl RefUnwindSafe for ServiceDelta
impl Send for ServiceDelta
impl Sync for ServiceDelta
impl Unpin for ServiceDelta
impl UnwindSafe for ServiceDelta
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> 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