pub struct UpdateDefinitionDescriptor {
pub name: String,
pub has_validator: bool,
}Expand description
Static metadata needed to route an update before constructing its handler future.
Fields§
§name: StringUpdate name registered by the workflow implementation.
has_validator: boolWhether the update has a validator that must run before its handler.
Trait Implementations§
Source§impl Clone for UpdateDefinitionDescriptor
impl Clone for UpdateDefinitionDescriptor
Source§fn clone(&self) -> UpdateDefinitionDescriptor
fn clone(&self) -> UpdateDefinitionDescriptor
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 UpdateDefinitionDescriptor
impl Debug for UpdateDefinitionDescriptor
impl Eq for UpdateDefinitionDescriptor
impl StructuralPartialEq for UpdateDefinitionDescriptor
Auto Trait Implementations§
impl Freeze for UpdateDefinitionDescriptor
impl RefUnwindSafe for UpdateDefinitionDescriptor
impl Send for UpdateDefinitionDescriptor
impl Sync for UpdateDefinitionDescriptor
impl Unpin for UpdateDefinitionDescriptor
impl UnsafeUnpin for UpdateDefinitionDescriptor
impl UnwindSafe for UpdateDefinitionDescriptor
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