pub struct ReviewPayload {
pub state_id: Option<StateId>,
pub summary: Option<ReviewSummary>,
pub agent_narrative: String,
pub partition: Option<ReadingOrderPartition>,
pub in_budget_signals: Vec<RiskSignal>,
pub all_signals: Vec<RiskSignal>,
pub tick_budget: u32,
pub discussions: Vec<AnchoredDiscussion>,
pub merge_requirements: Vec<MergeRequirement>,
pub signing_footer: Option<SigningFooter>,
}Fields§
§state_id: Option<StateId>§summary: Option<ReviewSummary>§agent_narrative: StringAgent-authored narrative captured at snapshot time. Empty when the state has no agent attribution.
partition: Option<ReadingOrderPartition>§in_budget_signals: Vec<RiskSignal>§all_signals: Vec<RiskSignal>Full set of fired signals; only populated when the request set
include_all_signals = true.
tick_budget: u32§discussions: Vec<AnchoredDiscussion>§merge_requirements: Vec<MergeRequirement>Trait Implementations§
Source§impl Clone for ReviewPayload
impl Clone for ReviewPayload
Source§fn clone(&self) -> ReviewPayload
fn clone(&self) -> ReviewPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReviewPayload
impl Debug for ReviewPayload
Source§impl Default for ReviewPayload
impl Default for ReviewPayload
Source§impl Message for ReviewPayload
impl Message for ReviewPayload
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for ReviewPayload
impl PartialEq for ReviewPayload
impl StructuralPartialEq for ReviewPayload
Auto Trait Implementations§
impl Freeze for ReviewPayload
impl RefUnwindSafe for ReviewPayload
impl Send for ReviewPayload
impl Sync for ReviewPayload
impl Unpin for ReviewPayload
impl UnsafeUnpin for ReviewPayload
impl UnwindSafe for ReviewPayload
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