pub struct QuorumAdapterRequest {
pub schema_version: u32,
pub episode_id: String,
pub participant: QuorumParticipant,
pub round: QuorumRound,
pub question: String,
pub target_project: Option<String>,
pub target_scope: Option<String>,
pub evidence_policy: String,
pub visible_prior_output_ids: Vec<String>,
pub visible_prior_outputs: Vec<QuorumParticipantOutput>,
}Expand description
Request payload consumed by a future participant adapter.
Fields§
§schema_version: u32On-disk/wire schema version.
episode_id: StringEpisode under deliberation.
participant: QuorumParticipantParticipant identity and adapter metadata.
round: QuorumRoundRound the adapter is being asked to answer.
question: StringQuestion under deliberation.
target_project: Option<String>Project/workspace target, when project-bound.
target_scope: Option<String>Governance scope target, when known.
evidence_policy: StringEvidence policy for the episode.
visible_prior_output_ids: Vec<String>Prior output ids the adapter is allowed to see.
visible_prior_outputs: Vec<QuorumParticipantOutput>Prior outputs the adapter is allowed to see.
Trait Implementations§
Source§impl Clone for QuorumAdapterRequest
impl Clone for QuorumAdapterRequest
Source§fn clone(&self) -> QuorumAdapterRequest
fn clone(&self) -> QuorumAdapterRequest
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 QuorumAdapterRequest
impl Debug for QuorumAdapterRequest
Source§impl<'de> Deserialize<'de> for QuorumAdapterRequest
impl<'de> Deserialize<'de> for QuorumAdapterRequest
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
Source§impl PartialEq for QuorumAdapterRequest
impl PartialEq for QuorumAdapterRequest
Source§impl Serialize for QuorumAdapterRequest
impl Serialize for QuorumAdapterRequest
impl Eq for QuorumAdapterRequest
impl StructuralPartialEq for QuorumAdapterRequest
Auto Trait Implementations§
impl Freeze for QuorumAdapterRequest
impl RefUnwindSafe for QuorumAdapterRequest
impl Send for QuorumAdapterRequest
impl Sync for QuorumAdapterRequest
impl Unpin for QuorumAdapterRequest
impl UnsafeUnpin for QuorumAdapterRequest
impl UnwindSafe for QuorumAdapterRequest
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.