pub struct Action {
pub namespace: String,
pub name: String,
pub version: String,
pub limits: Limits,
pub exec: Exec,
pub error: String,
pub publish: bool,
pub updated: i64,
pub annotations: Vec<KeyValue>,
}
Expand description
Represenation of Action
Fields§
§namespace: String
A action must have a namspace where it exists
name: String
A action must have a name to represent it
version: String
A action must have a versioning
limits: Limits
A action can take concurrrent limit
exec: Exec
A action must have Exec properties
error: String
A action must have error to handle error created
publish: bool
Toggle to publish action
updated: i64
Updated version count of actions
annotations: Vec<KeyValue>
Keyvalue pair for annotate Actions
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
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 StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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