pub struct ReplicaRef {
pub deployment: DeploymentRef,
pub id: String,
}Expand description
One replica of a deployment version.
Fields§
§deployment: DeploymentRefThe deployment version the replica runs.
id: StringProvider id (pid, pod name, task ARN, machine id). For Addressing::Url
the single pseudo-replica id is url.
Trait Implementations§
Source§impl Clone for ReplicaRef
impl Clone for ReplicaRef
Source§impl Debug for ReplicaRef
impl Debug for ReplicaRef
Source§impl<'de> Deserialize<'de> for ReplicaRef
impl<'de> Deserialize<'de> for ReplicaRef
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 ReplicaRef
Source§impl Hash for ReplicaRef
impl Hash for ReplicaRef
Source§impl Ord for ReplicaRef
impl Ord for ReplicaRef
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 ReplicaRef
impl PartialEq for ReplicaRef
Source§impl PartialOrd for ReplicaRef
impl PartialOrd for ReplicaRef
Source§impl Serialize for ReplicaRef
impl Serialize for ReplicaRef
impl StructuralPartialEq for ReplicaRef
Auto Trait Implementations§
impl Forget for ReplicaRef
impl Freeze for ReplicaRef
impl Move for ReplicaRef
impl RefUnwindSafe for ReplicaRef
impl Send for ReplicaRef
impl Sync for ReplicaRef
impl Unpin for ReplicaRef
impl UnsafeUnpin for ReplicaRef
impl UnwindSafe for ReplicaRef
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.