pub struct Plan {
pub customer_id: CustomerId,
pub kind: Kind,
/* private fields */
}Expand description
Grooming reminder plan that separates message purpose from send approval.
Fields§
§customer_id: CustomerIdCustomer whose grooming reminder, deposit review, or rebooking packet is being prepared.
kind: KindReminder purpose that controls whether the draft is confirmation, prep, same-day, or cadence follow-up copy.
Implementations§
Source§impl Plan
impl Plan
Sourcepub const fn send_boundary(&self) -> SendBoundary
pub const fn send_boundary(&self) -> SendBoundary
Returns the customer-message send gate value used by grooming schedule/rebooking review.
Sourcepub const fn customer_message_gate(&self) -> Option<ReviewGate>
pub const fn customer_message_gate(&self) -> Option<ReviewGate>
Returns the customer-message approval gate required before this grooming reminder is sent.
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