pub struct AppendFrameArgs {Show 14 fields
pub execution_id: ExecutionId,
pub attempt_index: AttemptIndex,
pub lease_id: LeaseId,
pub lease_epoch: LeaseEpoch,
pub attempt_id: AttemptId,
pub frame_type: String,
pub timestamp: TimestampMs,
pub payload: Vec<u8>,
pub encoding: Option<String>,
pub metadata_json: Option<String>,
pub correlation_id: Option<String>,
pub source: Option<String>,
pub retention_maxlen: Option<u32>,
pub max_payload_bytes: Option<u32>,
}Fields§
§execution_id: ExecutionId§attempt_index: AttemptIndex§lease_id: LeaseId§lease_epoch: LeaseEpoch§attempt_id: AttemptId§frame_type: String§timestamp: TimestampMs§payload: Vec<u8>§encoding: Option<String>§metadata_json: Option<String>Optional structured metadata for the frame (JSON blob).
correlation_id: Option<String>§source: Option<String>§retention_maxlen: Option<u32>MAXLEN for the stream. 0 = no trim.
max_payload_bytes: Option<u32>Max payload bytes per frame. Default: 65536.
Trait Implementations§
Source§impl Clone for AppendFrameArgs
impl Clone for AppendFrameArgs
Source§fn clone(&self) -> AppendFrameArgs
fn clone(&self) -> AppendFrameArgs
Returns a duplicate of the value. Read more
1.0.0 · 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 AppendFrameArgs
impl Debug for AppendFrameArgs
Source§impl<'de> Deserialize<'de> for AppendFrameArgs
impl<'de> Deserialize<'de> for AppendFrameArgs
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 AppendFrameArgs
impl RefUnwindSafe for AppendFrameArgs
impl Send for AppendFrameArgs
impl Sync for AppendFrameArgs
impl Unpin for AppendFrameArgs
impl UnsafeUnpin for AppendFrameArgs
impl UnwindSafe for AppendFrameArgs
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