pub struct InstructionStatusUpdateBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> InstructionStatusUpdateBuilder<S>
impl<S: State> InstructionStatusUpdateBuilder<S>
Sourcepub fn build(self) -> InstructionStatusUpdatewhere
S: IsComplete,
pub fn build(self) -> InstructionStatusUpdatewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn message_id(
self,
value: Id,
) -> InstructionStatusUpdateBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
pub fn message_id(
self,
value: Id,
) -> InstructionStatusUpdateBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
Sourcepub fn maybe_message_id(
self,
value: Option<Id>,
) -> InstructionStatusUpdateBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
pub fn maybe_message_id(
self,
value: Option<Id>,
) -> InstructionStatusUpdateBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
Sourcepub fn instruction_id(
self,
value: Id,
) -> InstructionStatusUpdateBuilder<SetInstructionId<S>>where
S::InstructionId: IsUnset,
pub fn instruction_id(
self,
value: Id,
) -> InstructionStatusUpdateBuilder<SetInstructionId<S>>where
S::InstructionId: IsUnset,
Required.
The instruction this is about, as the CEM identified it.
Sourcepub fn status_type(
self,
value: InstructionStatus,
) -> InstructionStatusUpdateBuilder<SetStatusType<S>>where
S::StatusType: IsUnset,
pub fn status_type(
self,
value: InstructionStatus,
) -> InstructionStatusUpdateBuilder<SetStatusType<S>>where
S::StatusType: IsUnset,
Required.
The present status.
Sourcepub fn timestamp(
self,
value: Timestamp,
) -> InstructionStatusUpdateBuilder<SetTimestamp<S>>where
S::Timestamp: IsUnset,
pub fn timestamp(
self,
value: Timestamp,
) -> InstructionStatusUpdateBuilder<SetTimestamp<S>>where
S::Timestamp: IsUnset,
Required.
When the status last changed.
Auto Trait Implementations§
impl<S> Forget for InstructionStatusUpdateBuilder<S>
impl<S> Freeze for InstructionStatusUpdateBuilder<S>
impl<S> Move for InstructionStatusUpdateBuilder<S>
impl<S> RefUnwindSafe for InstructionStatusUpdateBuilder<S>
impl<S> Send for InstructionStatusUpdateBuilder<S>
impl<S> Sync for InstructionStatusUpdateBuilder<S>
impl<S> Unpin for InstructionStatusUpdateBuilder<S>
impl<S> UnsafeUnpin for InstructionStatusUpdateBuilder<S>
impl<S> UnwindSafe for InstructionStatusUpdateBuilder<S>
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