pub struct Scope {
pub name: String,
pub dir: String,
pub language: Language,
pub framework: String,
pub build_tool: BuildTool,
pub registry: Registry,
pub release: StageRelease,
pub test_threshold: Option<f64>,
pub ci_workflow: Option<String>,
}Expand description
作用域(上下文维度)。
通过 scope 为不同组件挂载不同的 Stage、Platform、Source 组合。
Fields§
§name: String§dir: String§language: Language§framework: String§build_tool: BuildTool§registry: Registry§release: StageRelease§test_threshold: Option<f64>§ci_workflow: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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