pub struct SelectedUpstream {
pub config_name: String,
pub index: usize,
pub upstream: UpstreamConfig,
}Expand description
Upstream selection result
Fields§
§config_name: String§index: usize§upstream: UpstreamConfigTrait Implementations§
Source§impl Clone for SelectedUpstream
impl Clone for SelectedUpstream
Source§fn clone(&self) -> SelectedUpstream
fn clone(&self) -> SelectedUpstream
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 SelectedUpstream
impl RefUnwindSafe for SelectedUpstream
impl Send for SelectedUpstream
impl Sync for SelectedUpstream
impl Unpin for SelectedUpstream
impl UnwindSafe for SelectedUpstream
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