pub struct VacationReply {
pub to: String,
pub days: u32,
pub subject: String,
pub from: Option<String>,
pub message: String,
}Expand description
An evaluated automated reply (RFC 5230 vacation), ready for the host’s
SMTP layer. The engine computes routing and defaults; the host sends it
and tracks the respond period (see VacationTracker).
Fields§
§to: StringAddress to reply to: the envelope sender, falling back to the header
From address. Unfilled (empty) when the outcome was built by
build_action_plan instead of
evaluate_plan.
days: u32Minimum days before another reply to the same sender (:days).
subject: StringResolved subject: the configured :subject, else
Re: <original subject>, else Automated reply.
from: Option<String>Configured :from override, if any.
message: StringResponse body text.
Trait Implementations§
Source§impl Clone for VacationReply
impl Clone for VacationReply
Source§fn clone(&self) -> VacationReply
fn clone(&self) -> VacationReply
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 VacationReply
impl Debug for VacationReply
impl Eq for VacationReply
Source§impl PartialEq for VacationReply
impl PartialEq for VacationReply
impl StructuralPartialEq for VacationReply
Auto Trait Implementations§
impl Freeze for VacationReply
impl RefUnwindSafe for VacationReply
impl Send for VacationReply
impl Sync for VacationReply
impl Unpin for VacationReply
impl UnsafeUnpin for VacationReply
impl UnwindSafe for VacationReply
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