pub struct DecisionReason {
pub code: String,
pub redacted_summary: Option<String>,
pub policy_refs: Vec<PolicyRef>,
}Expand description
Defines the decision reason SDK value. Construction records local state only; documented runtimes, executors, or ports own side effects.
Fields§
§code: StringCode used by this record or request.
redacted_summary: Option<String>Redacted human-readable summary safe for events, telemetry, and logs.
policy_refs: Vec<PolicyRef>Policy references that govern admission, projection, execution, or delivery.
Implementations§
Trait Implementations§
Source§impl Clone for DecisionReason
impl Clone for DecisionReason
Source§fn clone(&self) -> DecisionReason
fn clone(&self) -> DecisionReason
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 DecisionReason
impl Debug for DecisionReason
Source§impl<'de> Deserialize<'de> for DecisionReason
impl<'de> Deserialize<'de> for DecisionReason
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 DecisionReason
impl PartialEq for DecisionReason
Source§fn eq(&self, other: &DecisionReason) -> bool
fn eq(&self, other: &DecisionReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DecisionReason
impl Serialize for DecisionReason
impl Eq for DecisionReason
impl StructuralPartialEq for DecisionReason
Auto Trait Implementations§
impl Freeze for DecisionReason
impl RefUnwindSafe for DecisionReason
impl Send for DecisionReason
impl Sync for DecisionReason
impl Unpin for DecisionReason
impl UnsafeUnpin for DecisionReason
impl UnwindSafe for DecisionReason
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