pub struct KubernetesWorkerBinding {
pub name: BindingValue<String>,
pub namespace: BindingValue<String>,
pub service_name: BindingValue<String>,
pub service_port: BindingValue<u16>,
pub public_url: Option<BindingValue<String>>,
}Expand description
Kubernetes worker binding configuration
Fields§
§name: BindingValue<String>The worker name
namespace: BindingValue<String>The Kubernetes namespace
service_name: BindingValue<String>The Kubernetes Service name
service_port: BindingValue<u16>The Service port
public_url: Option<BindingValue<String>>Optional public URL if worker has public ingress
Trait Implementations§
Source§impl Clone for KubernetesWorkerBinding
impl Clone for KubernetesWorkerBinding
Source§fn clone(&self) -> KubernetesWorkerBinding
fn clone(&self) -> KubernetesWorkerBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KubernetesWorkerBinding
impl Debug for KubernetesWorkerBinding
Source§impl<'de> Deserialize<'de> for KubernetesWorkerBinding
impl<'de> Deserialize<'de> for KubernetesWorkerBinding
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
impl Eq for KubernetesWorkerBinding
Source§impl PartialEq for KubernetesWorkerBinding
impl PartialEq for KubernetesWorkerBinding
Source§fn eq(&self, other: &KubernetesWorkerBinding) -> bool
fn eq(&self, other: &KubernetesWorkerBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KubernetesWorkerBinding
impl Serialize for KubernetesWorkerBinding
impl StructuralPartialEq for KubernetesWorkerBinding
Auto Trait Implementations§
impl Freeze for KubernetesWorkerBinding
impl RefUnwindSafe for KubernetesWorkerBinding
impl Send for KubernetesWorkerBinding
impl Sync for KubernetesWorkerBinding
impl Unpin for KubernetesWorkerBinding
impl UnsafeUnpin for KubernetesWorkerBinding
impl UnwindSafe for KubernetesWorkerBinding
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.