pub struct Service {Show 16 fields
pub context_id: ContextId,
pub enabled: bool,
pub domain: Option<Vec<String>>,
pub service_id: ServiceId,
pub created: String,
pub updated: Option<String>,
pub prefix: String,
pub container_image: String,
pub container_image_version: Option<String>,
pub container_port: Option<i32>,
pub container_pull_user: Option<String>,
pub container_pull_pwd: Option<String>,
pub env_variables: Option<HashMap<String, JobResponseEnvVariablesValue>>,
pub rewrite: Option<Box<ServiceRewrite>>,
pub login: Option<Box<ServiceLogin>>,
pub mounts: Option<Vec<VolumeMount>>,
}Fields§
§context_id: ContextId§enabled: boolwhether this service is active and should be propagated to ingress
domain: Option<Vec<String>>by default this property is empty, this property is only populated if it was part of the service creation.
service_id: ServiceId§created: String§updated: Option<String>§prefix: String§container_image: String§container_image_version: Option<String>§container_port: Option<i32>Optional port to expose externally; when omitted the first open container port is exposed automatically.
container_pull_user: Option<String>§container_pull_pwd: Option<String>§env_variables: Option<HashMap<String, JobResponseEnvVariablesValue>>§rewrite: Option<Box<ServiceRewrite>>§login: Option<Box<ServiceLogin>>§mounts: Option<Vec<VolumeMount>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Service
impl<'de> Deserialize<'de> for Service
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Service, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Service, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Service
impl Serialize for Service
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Service
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
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