Skip to main content

Attributes

Enum Attributes 

Source
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

Source

pub fn encode(&self, buf: &mut impl BufMut)

Encodes the message to a buffer.

Source

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.

Source

pub fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.

Trait Implementations§

Source§

impl Clone for Attributes

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl CommandAttributesExt for Attributes

Source§

impl Debug for Attributes

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Attributes

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Attributes> for Command

Source§

fn from(c: Attributes) -> Self

Converts to this type from the input type.
Source§

impl From<CancelTimer> for Attributes

Source§

fn from(s: CancelTimer) -> Self

Converts to this type from the input type.
Source§

impl From<CancelTimerCommandAttributes> for Attributes

Source§

fn from(value: CancelTimerCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<CancelWorkflowExecution> for Attributes

Source§

fn from(c: CancelWorkflowExecution) -> Self

Converts to this type from the input type.
Source§

impl From<CancelWorkflowExecutionCommandAttributes> for Attributes

Source§

fn from(value: CancelWorkflowExecutionCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<CompleteWorkflowExecution> for Attributes

Source§

fn from(c: CompleteWorkflowExecution) -> Self

Converts to this type from the input type.
Source§

impl From<CompleteWorkflowExecutionCommandAttributes> for Attributes

Source§

fn from(value: CompleteWorkflowExecutionCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<ContinueAsNewWorkflowExecutionCommandAttributes> for Attributes

Source§

fn from(value: ContinueAsNewWorkflowExecutionCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<FailWorkflowExecution> for Attributes

Source§

fn from(c: FailWorkflowExecution) -> Self

Converts to this type from the input type.
Source§

impl From<FailWorkflowExecutionCommandAttributes> for Attributes

Source§

fn from(value: FailWorkflowExecutionCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyWorkflowProperties> for Attributes

Source§

fn from(s: ModifyWorkflowProperties) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyWorkflowPropertiesCommandAttributes> for Attributes

Source§

fn from(value: ModifyWorkflowPropertiesCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<ProtocolMessageCommandAttributes> for Attributes

Source§

fn from(value: ProtocolMessageCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<RecordMarkerCommandAttributes> for Attributes

Source§

fn from(value: RecordMarkerCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<RequestCancelActivityTaskCommandAttributes> for Attributes

Source§

fn from(value: RequestCancelActivityTaskCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<RequestCancelExternalWorkflowExecutionCommandAttributes> for Attributes

Source§

fn from(value: RequestCancelExternalWorkflowExecutionCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<RequestCancelNexusOperationCommandAttributes> for Attributes

Source§

fn from(value: RequestCancelNexusOperationCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<ScheduleActivityTaskCommandAttributes> for Attributes

Source§

fn from(value: ScheduleActivityTaskCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<ScheduleNexusOperation> for Attributes

Source§

fn from(c: ScheduleNexusOperation) -> Self

Converts to this type from the input type.
Source§

impl From<ScheduleNexusOperationCommandAttributes> for Attributes

Source§

fn from(value: ScheduleNexusOperationCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<SignalExternalWorkflowExecutionCommandAttributes> for Attributes

Source§

fn from(value: SignalExternalWorkflowExecutionCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<StartChildWorkflowExecutionCommandAttributes> for Attributes

Source§

fn from(value: StartChildWorkflowExecutionCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<StartTimer> for Attributes

Source§

fn from(s: StartTimer) -> Self

Converts to this type from the input type.
Source§

impl From<StartTimerCommandAttributes> for Attributes

Source§

fn from(value: StartTimerCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<UpsertWorkflowSearchAttributes> for Attributes

Source§

fn from(s: UpsertWorkflowSearchAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<UpsertWorkflowSearchAttributesCommandAttributes> for Attributes

Source§

fn from(value: UpsertWorkflowSearchAttributesCommandAttributes) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Attributes

Source§

fn eq(&self, other: &Attributes) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Attributes

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<L> LayerExt<L> for L

Source§

fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>
where L: Layer<S>,

Applies the layer to a service and wraps it in Layered.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more