pub struct PolicyAttachedData {
pub pet_profile: PetProfile,
pub policy_snapshot: PolicySnapshot,
}Expand description
Policy attached data carried by the booking-readiness workflow; it keeps booking work grounded in deterministic policy evidence before any agent draft reaches staff.
Fields§
§pet_profile: PetProfilePet profile preserved as evidence for audit, review, or agent context.
policy_snapshot: PolicySnapshotPolicy snapshot preserved as evidence for audit, review, or agent context.
Trait Implementations§
Source§impl CanTransitionWith<PolicyAttachedData> for Request<PetProfileAttached>
impl CanTransitionWith<PolicyAttachedData> for Request<PetProfileAttached>
Source§type NextState = PolicyAttached
type NextState = PolicyAttached
The next state selected by this transition.
Source§type Output = Request<PolicyAttached>
type Output = Request<PolicyAttached>
The transition result type.
Source§fn transition_with_data(self, data: PolicyAttachedData) -> Self::Output
fn transition_with_data(self, data: PolicyAttachedData) -> Self::Output
Perform the transition with payload data.
Source§impl CanTransitionWith<PolicyAttachedData> for Request<PolicyAttached>
impl CanTransitionWith<PolicyAttachedData> for Request<PolicyAttached>
Source§type NextState = ReadyForPolicyDecision
type NextState = ReadyForPolicyDecision
The next state selected by this transition.
Source§type Output = Request<ReadyForPolicyDecision>
type Output = Request<ReadyForPolicyDecision>
The transition result type.
Source§fn transition_with_data(self, data: PolicyAttachedData) -> Self::Output
fn transition_with_data(self, data: PolicyAttachedData) -> Self::Output
Perform the transition with payload data.
Source§impl Clone for PolicyAttachedData
impl Clone for PolicyAttachedData
Source§fn clone(&self) -> PolicyAttachedData
fn clone(&self) -> PolicyAttachedData
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 PolicyAttachedData
impl Debug for PolicyAttachedData
Source§impl<'de> Deserialize<'de> for PolicyAttachedData
impl<'de> Deserialize<'de> for PolicyAttachedData
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 PolicyAttachedData
impl PartialEq for PolicyAttachedData
Source§impl Serialize for PolicyAttachedData
impl Serialize for PolicyAttachedData
impl Eq for PolicyAttachedData
impl StructuralPartialEq for PolicyAttachedData
Auto Trait Implementations§
impl Freeze for PolicyAttachedData
impl RefUnwindSafe for PolicyAttachedData
impl Send for PolicyAttachedData
impl Sync for PolicyAttachedData
impl Unpin for PolicyAttachedData
impl UnsafeUnpin for PolicyAttachedData
impl UnwindSafe for PolicyAttachedData
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