pub struct DeclaredActivity {
pub activity_type: String,
}Expand description
Activity declaration recorded in the package manifest.
Fields§
§activity_type: StringStable activity_type key naming an activity type invoked by workflow code.
This follows the current aion-core event convention, where scheduled
activity types are represented as strings.
Trait Implementations§
Source§impl Clone for DeclaredActivity
impl Clone for DeclaredActivity
Source§fn clone(&self) -> DeclaredActivity
fn clone(&self) -> DeclaredActivity
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 DeclaredActivity
impl Debug for DeclaredActivity
Source§impl<'de> Deserialize<'de> for DeclaredActivity
impl<'de> Deserialize<'de> for DeclaredActivity
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
impl Eq for DeclaredActivity
Source§impl PartialEq for DeclaredActivity
impl PartialEq for DeclaredActivity
Source§fn eq(&self, other: &DeclaredActivity) -> bool
fn eq(&self, other: &DeclaredActivity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeclaredActivity
impl Serialize for DeclaredActivity
impl StructuralPartialEq for DeclaredActivity
Auto Trait Implementations§
impl Freeze for DeclaredActivity
impl RefUnwindSafe for DeclaredActivity
impl Send for DeclaredActivity
impl Sync for DeclaredActivity
impl Unpin for DeclaredActivity
impl UnsafeUnpin for DeclaredActivity
impl UnwindSafe for DeclaredActivity
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.