pub struct BackendDescriptor {
pub address: String,
pub head: String,
pub runner: Symbol,
pub fixture: bool,
}Expand description
Resolved description of a plan atom address, identifying the backend that should serve it.
Fields§
§address: StringFull atom address (for example openai/gpt-4o).
head: StringLeading address segment naming the backend family (for example openai).
runner: SymbolRunner symbol derived from the full address.
fixture: boolWhether the address designates a built-in fixture backend.
Implementations§
Source§impl BackendDescriptor
impl BackendDescriptor
Sourcepub fn is_runner_backed(&self) -> bool
pub fn is_runner_backed(&self) -> bool
Returns true when this atom should dispatch through a registered runner.
Sourcepub fn is_gateway(&self) -> bool
pub fn is_gateway(&self) -> bool
Returns true when this atom should dispatch through gateway federation.
Trait Implementations§
Source§impl Clone for BackendDescriptor
impl Clone for BackendDescriptor
Source§fn clone(&self) -> BackendDescriptor
fn clone(&self) -> BackendDescriptor
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 BackendDescriptor
impl Debug for BackendDescriptor
impl Eq for BackendDescriptor
Source§impl PartialEq for BackendDescriptor
impl PartialEq for BackendDescriptor
impl StructuralPartialEq for BackendDescriptor
Auto Trait Implementations§
impl Freeze for BackendDescriptor
impl RefUnwindSafe for BackendDescriptor
impl Send for BackendDescriptor
impl Sync for BackendDescriptor
impl Unpin for BackendDescriptor
impl UnsafeUnpin for BackendDescriptor
impl UnwindSafe for BackendDescriptor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.