pub struct AppSceneConfig {
pub schema_version: u32,
pub name: String,
pub description: String,
pub profile: String,
pub base_generation: Option<u64>,
pub enabled_features: Vec<String>,
pub disabled_features: Vec<String>,
pub binding_pins: Vec<AppSceneBindingPin>,
pub package_pins: Vec<AppScenePackagePin>,
pub role_routing: HashMap<String, RoleModel>,
pub workspace: String,
pub metadata: AppSceneMetadata,
}Fields§
§schema_version: u32§name: String§description: String§profile: String§base_generation: Option<u64>§enabled_features: Vec<String>§disabled_features: Vec<String>§binding_pins: Vec<AppSceneBindingPin>§package_pins: Vec<AppScenePackagePin>§role_routing: HashMap<String, RoleModel>角色→模型路由(planner/implementer/reviewer/integrator)。激活该 scene 时
写入 KV team:role_routing,使切场景即切团队各角色用的模型。空则不改路由。
workspace: String会话默认工作区目录。激活该 scene 时作为新会话的默认 workspace_root。空则用系统默认。
metadata: AppSceneMetadataTrait Implementations§
Source§impl Clone for AppSceneConfig
impl Clone for AppSceneConfig
Source§fn clone(&self) -> AppSceneConfig
fn clone(&self) -> AppSceneConfig
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 AppSceneConfig
impl Debug for AppSceneConfig
Source§impl Default for AppSceneConfig
impl Default for AppSceneConfig
Source§fn default() -> AppSceneConfig
fn default() -> AppSceneConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppSceneConfig
impl<'de> Deserialize<'de> for AppSceneConfig
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
Auto Trait Implementations§
impl Freeze for AppSceneConfig
impl RefUnwindSafe for AppSceneConfig
impl Send for AppSceneConfig
impl Sync for AppSceneConfig
impl Unpin for AppSceneConfig
impl UnsafeUnpin for AppSceneConfig
impl UnwindSafe for AppSceneConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: Sized + AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: Sized + AsFilelike,
Set the “status” flags for the
self file descriptor. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more