pub struct ExactMember {
pub id: String,
pub role: String,
pub provider: String,
pub model: String,
pub reasoning: RequestedReasoning,
pub permissions: PermissionCeiling,
}Expand description
A dispatchable exact Fleet member.
Fields§
§id: StringStable member id — the identity a run refers to.
role: StringRole name; defaults to the member id.
provider: StringExact configured provider id (a [providers.<id>] key or a built-in id).
model: StringExact model id.
reasoning: RequestedReasoningRequested reasoning policy for this member.
permissions: PermissionCeilingPermission ceiling/default for this member.
Implementations§
Source§impl ExactMember
impl ExactMember
Sourcepub fn frozen_route(&self) -> FrozenRoute
pub fn frozen_route(&self) -> FrozenRoute
The provider/model pair, frozen. Callers resolve reasoning after this.
pub const fn is_dispatchable(&self) -> bool
Trait Implementations§
Source§impl Clone for ExactMember
impl Clone for ExactMember
Source§fn clone(&self) -> ExactMember
fn clone(&self) -> ExactMember
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 ExactMember
impl Debug for ExactMember
Source§impl<'de> Deserialize<'de> for ExactMember
impl<'de> Deserialize<'de> for ExactMember
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExactMember
Source§impl PartialEq for ExactMember
impl PartialEq for ExactMember
Source§impl Serialize for ExactMember
impl Serialize for ExactMember
impl StructuralPartialEq for ExactMember
Auto Trait Implementations§
impl Freeze for ExactMember
impl RefUnwindSafe for ExactMember
impl Send for ExactMember
impl Sync for ExactMember
impl Unpin for ExactMember
impl UnsafeUnpin for ExactMember
impl UnwindSafe for ExactMember
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