pub struct ActivityModel {
pub rpc_method: String,
pub registered_name: String,
pub input_type: ProtoType,
pub output_type: ProtoType,
}Fields§
§rpc_method: StringRpc method name. Activity emit is validate-only in v1, but we still resolve names so collisions with workflow / signal / query / update can be rejected.
registered_name: String§input_type: ProtoType§output_type: ProtoTypeTrait Implementations§
Auto Trait Implementations§
impl Freeze for ActivityModel
impl RefUnwindSafe for ActivityModel
impl Send for ActivityModel
impl Sync for ActivityModel
impl Unpin for ActivityModel
impl UnsafeUnpin for ActivityModel
impl UnwindSafe for ActivityModel
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