pub struct RuntimeUpstreamIdentity {
pub provider_endpoint: ProviderEndpointKey,
pub compatibility: Option<LegacyUpstreamKey>,
pub base_url: String,
}Fields§
§provider_endpoint: ProviderEndpointKey§compatibility: Option<LegacyUpstreamKey>§base_url: StringImplementations§
Source§impl RuntimeUpstreamIdentity
impl RuntimeUpstreamIdentity
pub fn new( provider_endpoint: ProviderEndpointKey, compatibility: Option<LegacyUpstreamKey>, base_url: impl Into<String>, ) -> Self
Trait Implementations§
Source§impl Clone for RuntimeUpstreamIdentity
impl Clone for RuntimeUpstreamIdentity
Source§fn clone(&self) -> RuntimeUpstreamIdentity
fn clone(&self) -> RuntimeUpstreamIdentity
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 RuntimeUpstreamIdentity
impl Debug for RuntimeUpstreamIdentity
Source§impl<'de> Deserialize<'de> for RuntimeUpstreamIdentity
impl<'de> Deserialize<'de> for RuntimeUpstreamIdentity
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 RuntimeUpstreamIdentity
impl PartialEq for RuntimeUpstreamIdentity
Source§fn eq(&self, other: &RuntimeUpstreamIdentity) -> bool
fn eq(&self, other: &RuntimeUpstreamIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeUpstreamIdentity
impl Serialize for RuntimeUpstreamIdentity
impl Eq for RuntimeUpstreamIdentity
impl StructuralPartialEq for RuntimeUpstreamIdentity
Auto Trait Implementations§
impl Freeze for RuntimeUpstreamIdentity
impl RefUnwindSafe for RuntimeUpstreamIdentity
impl Send for RuntimeUpstreamIdentity
impl Sync for RuntimeUpstreamIdentity
impl Unpin for RuntimeUpstreamIdentity
impl UnsafeUnpin for RuntimeUpstreamIdentity
impl UnwindSafe for RuntimeUpstreamIdentity
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.