pub struct Contract {
pub stages: Stages,
pub platforms: Platforms,
pub sources: Sources,
pub scopes: Vec<Scope>,
}Expand description
完整契约。
Fields§
§stages: Stages生命周期阶段配置。
platforms: Platforms外部治理载体配置。
sources: Sources事实源配置。
scopes: Vec<Scope>作用域列表。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Contract
impl RefUnwindSafe for Contract
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnsafeUnpin for Contract
impl UnwindSafe for Contract
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