pub struct ScaleEndpoint {
pub instance_id: String,
pub slot: u32,
pub url: String,
}Expand description
One live endpoint published for a deterministic replica slot.
Fields§
§instance_id: String§slot: u32§url: StringTrait Implementations§
Source§impl Clone for ScaleEndpoint
impl Clone for ScaleEndpoint
Source§fn clone(&self) -> ScaleEndpoint
fn clone(&self) -> ScaleEndpoint
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 ScaleEndpoint
impl Debug for ScaleEndpoint
Source§impl<'de> Deserialize<'de> for ScaleEndpoint
impl<'de> Deserialize<'de> for ScaleEndpoint
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 ScaleEndpoint
Source§impl PartialEq for ScaleEndpoint
impl PartialEq for ScaleEndpoint
Source§impl Serialize for ScaleEndpoint
impl Serialize for ScaleEndpoint
impl StructuralPartialEq for ScaleEndpoint
Auto Trait Implementations§
impl Freeze for ScaleEndpoint
impl RefUnwindSafe for ScaleEndpoint
impl Send for ScaleEndpoint
impl Sync for ScaleEndpoint
impl Unpin for ScaleEndpoint
impl UnsafeUnpin for ScaleEndpoint
impl UnwindSafe for ScaleEndpoint
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.