pub struct SessionRouteAffinity {
pub route_graph_key: String,
pub provider_endpoint: ProviderEndpointKey,
pub upstream_base_url: String,
pub route_path: Vec<String>,
pub last_selected_at_ms: u64,
pub last_changed_at_ms: u64,
pub change_reason: String,
}Fields§
§route_graph_key: String§provider_endpoint: ProviderEndpointKey§upstream_base_url: String§route_path: Vec<String>§last_selected_at_ms: u64§last_changed_at_ms: u64§change_reason: StringTrait Implementations§
Source§impl Clone for SessionRouteAffinity
impl Clone for SessionRouteAffinity
Source§fn clone(&self) -> SessionRouteAffinity
fn clone(&self) -> SessionRouteAffinity
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 SessionRouteAffinity
impl Debug for SessionRouteAffinity
Source§impl<'de> Deserialize<'de> for SessionRouteAffinity
impl<'de> Deserialize<'de> for SessionRouteAffinity
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
Source§impl PartialEq for SessionRouteAffinity
impl PartialEq for SessionRouteAffinity
Source§fn eq(&self, other: &SessionRouteAffinity) -> bool
fn eq(&self, other: &SessionRouteAffinity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionRouteAffinity
impl Serialize for SessionRouteAffinity
impl Eq for SessionRouteAffinity
impl StructuralPartialEq for SessionRouteAffinity
Auto Trait Implementations§
impl Freeze for SessionRouteAffinity
impl RefUnwindSafe for SessionRouteAffinity
impl Send for SessionRouteAffinity
impl Sync for SessionRouteAffinity
impl Unpin for SessionRouteAffinity
impl UnsafeUnpin for SessionRouteAffinity
impl UnwindSafe for SessionRouteAffinity
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> 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.