pub struct ProviderSelection {
pub provider_id: String,
pub weight: f32,
pub reason: String,
}
Expand description
Provider selection result.
Contains the selected provider and information about why it was chosen.
Fields§
§provider_id: String
Identifier of the selected provider
weight: f32
Weight assigned to this selection
reason: String
Human-readable reason for the selection
Trait Implementations§
Source§impl Clone for ProviderSelection
impl Clone for ProviderSelection
Source§fn clone(&self) -> ProviderSelection
fn clone(&self) -> ProviderSelection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ProviderSelection
impl RefUnwindSafe for ProviderSelection
impl Send for ProviderSelection
impl Sync for ProviderSelection
impl Unpin for ProviderSelection
impl UnwindSafe for ProviderSelection
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