pub enum Attributes {
Show 17 variants
ScheduleActivityTaskCommandAttributes(ScheduleActivityTaskCommandAttributes),
StartTimerCommandAttributes(StartTimerCommandAttributes),
CompleteWorkflowExecutionCommandAttributes(CompleteWorkflowExecutionCommandAttributes),
FailWorkflowExecutionCommandAttributes(FailWorkflowExecutionCommandAttributes),
RequestCancelActivityTaskCommandAttributes(RequestCancelActivityTaskCommandAttributes),
CancelTimerCommandAttributes(CancelTimerCommandAttributes),
CancelWorkflowExecutionCommandAttributes(CancelWorkflowExecutionCommandAttributes),
RequestCancelExternalWorkflowExecutionCommandAttributes(RequestCancelExternalWorkflowExecutionCommandAttributes),
RecordMarkerCommandAttributes(RecordMarkerCommandAttributes),
ContinueAsNewWorkflowExecutionCommandAttributes(ContinueAsNewWorkflowExecutionCommandAttributes),
StartChildWorkflowExecutionCommandAttributes(StartChildWorkflowExecutionCommandAttributes),
SignalExternalWorkflowExecutionCommandAttributes(SignalExternalWorkflowExecutionCommandAttributes),
UpsertWorkflowSearchAttributesCommandAttributes(UpsertWorkflowSearchAttributesCommandAttributes),
ProtocolMessageCommandAttributes(ProtocolMessageCommandAttributes),
ModifyWorkflowPropertiesCommandAttributes(ModifyWorkflowPropertiesCommandAttributes),
ScheduleNexusOperationCommandAttributes(ScheduleNexusOperationCommandAttributes),
RequestCancelNexusOperationCommandAttributes(RequestCancelNexusOperationCommandAttributes),
}Expand description
The command details. The type must match that in command_type.
Variants§
ScheduleActivityTaskCommandAttributes(ScheduleActivityTaskCommandAttributes)
StartTimerCommandAttributes(StartTimerCommandAttributes)
CompleteWorkflowExecutionCommandAttributes(CompleteWorkflowExecutionCommandAttributes)
FailWorkflowExecutionCommandAttributes(FailWorkflowExecutionCommandAttributes)
RequestCancelActivityTaskCommandAttributes(RequestCancelActivityTaskCommandAttributes)
CancelTimerCommandAttributes(CancelTimerCommandAttributes)
CancelWorkflowExecutionCommandAttributes(CancelWorkflowExecutionCommandAttributes)
RequestCancelExternalWorkflowExecutionCommandAttributes(RequestCancelExternalWorkflowExecutionCommandAttributes)
RecordMarkerCommandAttributes(RecordMarkerCommandAttributes)
ContinueAsNewWorkflowExecutionCommandAttributes(ContinueAsNewWorkflowExecutionCommandAttributes)
StartChildWorkflowExecutionCommandAttributes(StartChildWorkflowExecutionCommandAttributes)
SignalExternalWorkflowExecutionCommandAttributes(SignalExternalWorkflowExecutionCommandAttributes)
UpsertWorkflowSearchAttributesCommandAttributes(UpsertWorkflowSearchAttributesCommandAttributes)
ProtocolMessageCommandAttributes(ProtocolMessageCommandAttributes)
ModifyWorkflowPropertiesCommandAttributes(ModifyWorkflowPropertiesCommandAttributes)
16 is available for use - it was used as part of a prototype that never made it into a release
ScheduleNexusOperationCommandAttributes(ScheduleNexusOperationCommandAttributes)
RequestCancelNexusOperationCommandAttributes(RequestCancelNexusOperationCommandAttributes)
Implementations§
Source§impl Attributes
impl Attributes
Sourcepub fn merge(
field: &mut Option<Attributes>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Attributes>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for Attributes
impl Clone for Attributes
Source§fn clone(&self) -> Attributes
fn clone(&self) -> Attributes
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 CommandAttributesExt for Attributes
impl CommandAttributesExt for Attributes
fn as_type(&self) -> CommandType
Source§impl Debug for Attributes
impl Debug for Attributes
Source§impl Display for Attributes
impl Display for Attributes
Source§impl From<Attributes> for Command
impl From<Attributes> for Command
Source§fn from(c: Attributes) -> Self
fn from(c: Attributes) -> Self
Converts to this type from the input type.
Source§impl From<CancelTimer> for Attributes
impl From<CancelTimer> for Attributes
Source§fn from(s: CancelTimer) -> Self
fn from(s: CancelTimer) -> Self
Converts to this type from the input type.
Source§impl From<CancelTimerCommandAttributes> for Attributes
impl From<CancelTimerCommandAttributes> for Attributes
Source§fn from(value: CancelTimerCommandAttributes) -> Self
fn from(value: CancelTimerCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<CancelWorkflowExecution> for Attributes
impl From<CancelWorkflowExecution> for Attributes
Source§fn from(c: CancelWorkflowExecution) -> Self
fn from(c: CancelWorkflowExecution) -> Self
Converts to this type from the input type.
Source§impl From<CancelWorkflowExecutionCommandAttributes> for Attributes
impl From<CancelWorkflowExecutionCommandAttributes> for Attributes
Source§fn from(value: CancelWorkflowExecutionCommandAttributes) -> Self
fn from(value: CancelWorkflowExecutionCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<CompleteWorkflowExecution> for Attributes
impl From<CompleteWorkflowExecution> for Attributes
Source§fn from(c: CompleteWorkflowExecution) -> Self
fn from(c: CompleteWorkflowExecution) -> Self
Converts to this type from the input type.
Source§impl From<CompleteWorkflowExecutionCommandAttributes> for Attributes
impl From<CompleteWorkflowExecutionCommandAttributes> for Attributes
Source§fn from(value: CompleteWorkflowExecutionCommandAttributes) -> Self
fn from(value: CompleteWorkflowExecutionCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<ContinueAsNewWorkflowExecutionCommandAttributes> for Attributes
impl From<ContinueAsNewWorkflowExecutionCommandAttributes> for Attributes
Source§fn from(value: ContinueAsNewWorkflowExecutionCommandAttributes) -> Self
fn from(value: ContinueAsNewWorkflowExecutionCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<FailWorkflowExecution> for Attributes
impl From<FailWorkflowExecution> for Attributes
Source§fn from(c: FailWorkflowExecution) -> Self
fn from(c: FailWorkflowExecution) -> Self
Converts to this type from the input type.
Source§impl From<FailWorkflowExecutionCommandAttributes> for Attributes
impl From<FailWorkflowExecutionCommandAttributes> for Attributes
Source§fn from(value: FailWorkflowExecutionCommandAttributes) -> Self
fn from(value: FailWorkflowExecutionCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<ModifyWorkflowProperties> for Attributes
impl From<ModifyWorkflowProperties> for Attributes
Source§fn from(s: ModifyWorkflowProperties) -> Self
fn from(s: ModifyWorkflowProperties) -> Self
Converts to this type from the input type.
Source§impl From<ModifyWorkflowPropertiesCommandAttributes> for Attributes
impl From<ModifyWorkflowPropertiesCommandAttributes> for Attributes
Source§fn from(value: ModifyWorkflowPropertiesCommandAttributes) -> Self
fn from(value: ModifyWorkflowPropertiesCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<ProtocolMessageCommandAttributes> for Attributes
impl From<ProtocolMessageCommandAttributes> for Attributes
Source§fn from(value: ProtocolMessageCommandAttributes) -> Self
fn from(value: ProtocolMessageCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<RecordMarkerCommandAttributes> for Attributes
impl From<RecordMarkerCommandAttributes> for Attributes
Source§fn from(value: RecordMarkerCommandAttributes) -> Self
fn from(value: RecordMarkerCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<RequestCancelActivityTaskCommandAttributes> for Attributes
impl From<RequestCancelActivityTaskCommandAttributes> for Attributes
Source§fn from(value: RequestCancelActivityTaskCommandAttributes) -> Self
fn from(value: RequestCancelActivityTaskCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<RequestCancelExternalWorkflowExecutionCommandAttributes> for Attributes
impl From<RequestCancelExternalWorkflowExecutionCommandAttributes> for Attributes
Source§fn from(value: RequestCancelExternalWorkflowExecutionCommandAttributes) -> Self
fn from(value: RequestCancelExternalWorkflowExecutionCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<RequestCancelNexusOperationCommandAttributes> for Attributes
impl From<RequestCancelNexusOperationCommandAttributes> for Attributes
Source§fn from(value: RequestCancelNexusOperationCommandAttributes) -> Self
fn from(value: RequestCancelNexusOperationCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<ScheduleActivityTaskCommandAttributes> for Attributes
impl From<ScheduleActivityTaskCommandAttributes> for Attributes
Source§fn from(value: ScheduleActivityTaskCommandAttributes) -> Self
fn from(value: ScheduleActivityTaskCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<ScheduleNexusOperation> for Attributes
impl From<ScheduleNexusOperation> for Attributes
Source§fn from(c: ScheduleNexusOperation) -> Self
fn from(c: ScheduleNexusOperation) -> Self
Converts to this type from the input type.
Source§impl From<ScheduleNexusOperationCommandAttributes> for Attributes
impl From<ScheduleNexusOperationCommandAttributes> for Attributes
Source§fn from(value: ScheduleNexusOperationCommandAttributes) -> Self
fn from(value: ScheduleNexusOperationCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<SignalExternalWorkflowExecutionCommandAttributes> for Attributes
impl From<SignalExternalWorkflowExecutionCommandAttributes> for Attributes
Source§fn from(value: SignalExternalWorkflowExecutionCommandAttributes) -> Self
fn from(value: SignalExternalWorkflowExecutionCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<StartChildWorkflowExecutionCommandAttributes> for Attributes
impl From<StartChildWorkflowExecutionCommandAttributes> for Attributes
Source§fn from(value: StartChildWorkflowExecutionCommandAttributes) -> Self
fn from(value: StartChildWorkflowExecutionCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<StartTimer> for Attributes
impl From<StartTimer> for Attributes
Source§fn from(s: StartTimer) -> Self
fn from(s: StartTimer) -> Self
Converts to this type from the input type.
Source§impl From<StartTimerCommandAttributes> for Attributes
impl From<StartTimerCommandAttributes> for Attributes
Source§fn from(value: StartTimerCommandAttributes) -> Self
fn from(value: StartTimerCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl From<UpsertWorkflowSearchAttributes> for Attributes
impl From<UpsertWorkflowSearchAttributes> for Attributes
Source§fn from(s: UpsertWorkflowSearchAttributes) -> Self
fn from(s: UpsertWorkflowSearchAttributes) -> Self
Converts to this type from the input type.
Source§impl From<UpsertWorkflowSearchAttributesCommandAttributes> for Attributes
impl From<UpsertWorkflowSearchAttributesCommandAttributes> for Attributes
Source§fn from(value: UpsertWorkflowSearchAttributesCommandAttributes) -> Self
fn from(value: UpsertWorkflowSearchAttributesCommandAttributes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Attributes
impl PartialEq for Attributes
impl StructuralPartialEq for Attributes
Auto Trait Implementations§
impl Freeze for Attributes
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnsafeUnpin for Attributes
impl UnwindSafe for Attributes
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request