pub struct FleetProfile {
pub slot: FleetSlot,
pub role: FleetRole,
pub loadout: FleetLoadout,
pub model: Option<String>,
pub permissions: FleetProfilePermissions,
pub delegation: FleetDelegationHints,
}Expand description
Fleet org-chart profile.
A profile is an additive config record for future fleet scheduling policy. Loading one must not grant runtime permissions by itself: shell and trust escalation default off, and approvals default on.
Fields§
§slot: FleetSlotOrg-chart slot this profile describes.
role: FleetRoleSemantic role name and optional instruction overlay.
loadout: FleetLoadoutModel class / route-role hint. This is data only in this slice.
model: Option<String>Optional explicit model id for this profile on the active/resolved route.
This is not an auth or endpoint selector. Provider-scoped routing still validates the executable provider/model/wire-model decision.
permissions: FleetProfilePermissionsPermission defaults requested by the profile.
delegation: FleetDelegationHintsDelegation hints for future manager policy.
Trait Implementations§
Source§impl Clone for FleetProfile
impl Clone for FleetProfile
Source§fn clone(&self) -> FleetProfile
fn clone(&self) -> FleetProfile
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 FleetProfile
impl Debug for FleetProfile
Source§impl Default for FleetProfile
impl Default for FleetProfile
Source§fn default() -> FleetProfile
fn default() -> FleetProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FleetProfile
impl<'de> Deserialize<'de> for FleetProfile
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 FleetProfile
Source§impl PartialEq for FleetProfile
impl PartialEq for FleetProfile
Source§fn eq(&self, other: &FleetProfile) -> bool
fn eq(&self, other: &FleetProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FleetProfile
impl Serialize for FleetProfile
impl StructuralPartialEq for FleetProfile
Auto Trait Implementations§
impl Freeze for FleetProfile
impl RefUnwindSafe for FleetProfile
impl Send for FleetProfile
impl Sync for FleetProfile
impl Unpin for FleetProfile
impl UnsafeUnpin for FleetProfile
impl UnwindSafe for FleetProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.