pub struct EndpointCandidate {
pub endpoint: String,
pub models_path: &'static str,
}Expand description
Candidate endpoint and model-list path tried by provider probing.
Fields§
§endpoint: StringCandidate base endpoint.
models_path: &'static strProvider-specific model-list path for this candidate.
Trait Implementations§
Source§impl Clone for EndpointCandidate
impl Clone for EndpointCandidate
Source§fn clone(&self) -> EndpointCandidate
fn clone(&self) -> EndpointCandidate
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 EndpointCandidate
impl Debug for EndpointCandidate
impl Eq for EndpointCandidate
Source§impl PartialEq for EndpointCandidate
impl PartialEq for EndpointCandidate
impl StructuralPartialEq for EndpointCandidate
Auto Trait Implementations§
impl Freeze for EndpointCandidate
impl RefUnwindSafe for EndpointCandidate
impl Send for EndpointCandidate
impl Sync for EndpointCandidate
impl Unpin for EndpointCandidate
impl UnsafeUnpin for EndpointCandidate
impl UnwindSafe for EndpointCandidate
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