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.
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
Source§fn eq(&self, other: &BackendDescriptor) -> bool
fn eq(&self, other: &BackendDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.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