pub struct DeploymentRef {
pub name: String,
pub version: String,
pub target: String,
}Expand description
A deployment version known to a provider. Versions are immutable (decision 6).
Fields§
§name: StringDeployment name, the namespace of run ids, HMAC keys and API keys.
version: StringImmutable version (e.g. v7 or a content hash).
target: StringProvider resource the version lives in (Kubernetes ns/deployment,
Cloud Run service name, ECS task definition ARN, Fly app…). Opaque to
the gateway.
Implementations§
Trait Implementations§
Source§impl Clone for DeploymentRef
impl Clone for DeploymentRef
Source§impl Debug for DeploymentRef
impl Debug for DeploymentRef
Source§impl<'de> Deserialize<'de> for DeploymentRef
impl<'de> Deserialize<'de> for DeploymentRef
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 DeploymentRef
Source§impl Hash for DeploymentRef
impl Hash for DeploymentRef
Source§impl Ord for DeploymentRef
impl Ord for DeploymentRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DeploymentRef
impl PartialEq for DeploymentRef
Source§impl PartialOrd for DeploymentRef
impl PartialOrd for DeploymentRef
Source§impl Serialize for DeploymentRef
impl Serialize for DeploymentRef
impl StructuralPartialEq for DeploymentRef
Auto Trait Implementations§
impl Forget for DeploymentRef
impl Freeze for DeploymentRef
impl Move for DeploymentRef
impl RefUnwindSafe for DeploymentRef
impl Send for DeploymentRef
impl Sync for DeploymentRef
impl Unpin for DeploymentRef
impl UnsafeUnpin for DeploymentRef
impl UnwindSafe for DeploymentRef
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.