Enum mcai_client::Action
source · [−]pub enum Action {
Show 17 variants
AbortWorkflow {
identifier: i64,
},
AddCredential(CredentialContent),
DeleteCredential {
identifier: i64,
},
DeleteWorkflow {
identifier: i64,
},
GetWorkflowDuration {
identifier: i64,
},
ListCredential {
pagination: Pagination,
},
ListUser {
pagination: Pagination,
},
ListWorker {
identifier: Option<String>,
job_id: Option<String>,
pagination: Pagination,
},
ListWorkflow {
after_date: Option<DateTime<Utc>>,
before_date: Option<DateTime<Utc>>,
name: Option<String>,
states: Vec<String>,
pagination: Pagination,
},
ShowCredential {
identifier: String,
},
ShowUser {
identifier: i64,
},
ShowWorker {
identifier: String,
},
ShowWorkflow {
identifier: i64,
mode: ShowWorkflowMode,
},
StopWorker {
identifier: String,
},
StopWorkflow {
identifier: i64,
},
WorkerJobConsumptionResume {
identifier: String,
},
WorkerJobConsumptionStop {
identifier: String,
},
}Variants
AbortWorkflow
Fields
identifier: i64AddCredential(CredentialContent)
DeleteCredential
Fields
identifier: i64DeleteWorkflow
Fields
identifier: i64GetWorkflowDuration
Fields
identifier: i64ListCredential
Fields
pagination: PaginationListUser
Fields
pagination: PaginationListWorker
ListWorkflow
Fields
pagination: PaginationShowCredential
Fields
identifier: StringShowUser
Fields
identifier: i64ShowWorker
Fields
identifier: StringShowWorkflow
StopWorker
Fields
identifier: StringStopWorkflow
Fields
identifier: i64WorkerJobConsumptionResume
Fields
identifier: StringWorkerJobConsumptionStop
Fields
identifier: StringImplementations
Auto Trait Implementations
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more