pub struct BrokerDecisionPayload {
pub op: String,
pub decision: AdmissionDecision,
pub receipt_hash: Option<String>,
pub refusal_reason: Option<String>,
}Expand description
Payload for StreamEventKind::BrokerDecision.
Fields§
§op: StringOperation ID, e.g. “ggen.sync”, “ggen.build.workspace”
decision: AdmissionDecision§receipt_hash: Option<String>BLAKE3 receipt hash if admitted
refusal_reason: Option<String>DefectClass name if refused
Implementations§
Trait Implementations§
Source§impl Clone for BrokerDecisionPayload
impl Clone for BrokerDecisionPayload
Source§fn clone(&self) -> BrokerDecisionPayload
fn clone(&self) -> BrokerDecisionPayload
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 BrokerDecisionPayload
impl Debug for BrokerDecisionPayload
Source§impl<'de> Deserialize<'de> for BrokerDecisionPayload
impl<'de> Deserialize<'de> for BrokerDecisionPayload
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 BrokerDecisionPayload
impl RefUnwindSafe for BrokerDecisionPayload
impl Send for BrokerDecisionPayload
impl Sync for BrokerDecisionPayload
impl Unpin for BrokerDecisionPayload
impl UnsafeUnpin for BrokerDecisionPayload
impl UnwindSafe for BrokerDecisionPayload
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