pub struct ActivityIR {
pub name: String,
pub description: Option<String>,
pub inputs: Vec<ActivityParam>,
pub outputs: Vec<ActivityParam>,
pub timeout: Option<Duration>,
pub retry_policy: Option<RetryPolicy>,
pub implementation: ActivityImplementation,
}
Expand description
Activity定義IR
Fields§
§name: String
§description: Option<String>
§inputs: Vec<ActivityParam>
§outputs: Vec<ActivityParam>
§timeout: Option<Duration>
§retry_policy: Option<RetryPolicy>
§implementation: ActivityImplementation
Trait Implementations§
Source§impl Clone for ActivityIR
impl Clone for ActivityIR
Source§fn clone(&self) -> ActivityIR
fn clone(&self) -> ActivityIR
Returns a duplicate of the value. Read more
1.0.0 · 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 ActivityIR
impl Debug for ActivityIR
Source§impl<'de> Deserialize<'de> for ActivityIR
impl<'de> Deserialize<'de> for ActivityIR
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 ActivityIR
impl RefUnwindSafe for ActivityIR
impl Send for ActivityIR
impl Sync for ActivityIR
impl Unpin for ActivityIR
impl UnwindSafe for ActivityIR
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