pub struct Plan {
pub customer_id: CustomerId,
pub kind: Kind,
/* private fields */
}Expand description
Represents the plan concept as a typed grooming operational contract instead of a raw primitive.
Fields§
§customer_id: CustomerIdSource-derived customer id carried by this grooming contract.
kind: KindSource-derived kind carried by this grooming contract.
Implementations§
Source§impl Plan
impl Plan
Sourcepub const fn send_boundary(&self) -> SendBoundary
pub const fn send_boundary(&self) -> SendBoundary
Returns the send boundary evidence recorded on this grooming contract.
Sourcepub const fn customer_message_gate(&self) -> Option<ReviewGate>
pub const fn customer_message_gate(&self) -> Option<ReviewGate>
Returns the customer message review gate recorded on this grooming contract.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Plan
impl<'de> Deserialize<'de> for Plan
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
impl Eq for Plan
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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