pub struct ProviderEndpoint {
pub id: String,
pub base_url: String,
pub priority: u16,
pub weight: u16,
pub region: Option<String>,
}Fields§
§id: String§base_url: String§priority: u16§weight: u16§region: Option<String>Trait Implementations§
Source§impl Clone for ProviderEndpoint
impl Clone for ProviderEndpoint
Source§fn clone(&self) -> ProviderEndpoint
fn clone(&self) -> ProviderEndpoint
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 ProviderEndpoint
impl Debug for ProviderEndpoint
Source§impl<'de> Deserialize<'de> for ProviderEndpoint
impl<'de> Deserialize<'de> for ProviderEndpoint
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 ProviderEndpoint
Source§impl PartialEq for ProviderEndpoint
impl PartialEq for ProviderEndpoint
Source§impl Serialize for ProviderEndpoint
impl Serialize for ProviderEndpoint
impl StructuralPartialEq for ProviderEndpoint
Auto Trait Implementations§
impl Freeze for ProviderEndpoint
impl RefUnwindSafe for ProviderEndpoint
impl Send for ProviderEndpoint
impl Sync for ProviderEndpoint
impl Unpin for ProviderEndpoint
impl UnsafeUnpin for ProviderEndpoint
impl UnwindSafe for ProviderEndpoint
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