pub struct PayloadField<'a> {
pub path: &'static str,
pub data: PayloadFieldData<'a>,
}Expand description
Represents a payload field in a proto message. Payloads within the same field may be processed together by the codec.
Fields§
§path: &'static strThe fully-qualified field path (e.g.,
coresdk.workflow_commands.ScheduleActivity.arguments)
data: PayloadFieldData<'a>The payload data
Auto Trait Implementations§
impl<'a> Freeze for PayloadField<'a>
impl<'a> RefUnwindSafe for PayloadField<'a>
impl<'a> Send for PayloadField<'a>
impl<'a> Sync for PayloadField<'a>
impl<'a> Unpin for PayloadField<'a>
impl<'a> UnsafeUnpin for PayloadField<'a>
impl<'a> !UnwindSafe for PayloadField<'a>
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> 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