pub struct Assignment {
pub workflow_activation_id: Option<String>,
pub descriptor: ProgramDescriptor,
pub event: CloudEvent,
pub lease: Lease,
pub authority: Authority,
pub attempt_deadline: Timestamp,
}Fields§
§workflow_activation_id: Option<String>§descriptor: ProgramDescriptor§event: CloudEvent§lease: Lease§attempt_deadline: TimestampImplementations§
Source§impl Assignment
impl Assignment
Sourcepub fn validate_workflow_identity(&self) -> Result<()>
pub fn validate_workflow_identity(&self) -> Result<()>
The opt-in runtime marker must agree with the immutable invocation event.
Trait Implementations§
Source§impl Clone for Assignment
impl Clone for Assignment
Source§impl Debug for Assignment
impl Debug for Assignment
Source§impl<'de> Deserialize<'de> for Assignment
impl<'de> Deserialize<'de> for Assignment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Assignment
impl RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl UnsafeUnpin for Assignment
impl UnwindSafe for Assignment
Blanket Implementations§
impl<T> ArtifactLease for T
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