pub struct Flow {
pub name: String,
pub services: HashMap<String, Service>,
pub stages: HashMap<String, Stage>,
}Expand description
Flow - プロセスの設計図
Flowは複数のサービスとステージを定義し、 それらがどのように起動・管理されるかを記述します。
Fields§
§name: StringFlow名(プロジェクト名)
services: HashMap<String, Service>このFlowで定義されるサービス
stages: HashMap<String, Stage>このFlowで定義されるステージ
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Flow
impl<'de> Deserialize<'de> for Flow
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 Flow
impl RefUnwindSafe for Flow
impl Send for Flow
impl Sync for Flow
impl Unpin for Flow
impl UnwindSafe for Flow
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