pub struct HeldEntry {
pub id: String,
pub output: Option<String>,
pub key: Option<String>,
pub profile: String,
pub path: Option<String>,
pub options: Map<String, Value>,
pub attach: Vec<HeldFile>,
pub rate: Option<Rate>,
pub message: Option<(String, String)>,
pub files: Vec<HeldFile>,
}Expand description
One held delivery: the destination entry as rendered (unmasked: it’s what will be sent) and the files it sends.
Fields§
§id: String<output>/<key>/<n> for a per-row output, <output>/<n> otherwise.
output: Option<String>§key: Option<String>§profile: String§path: Option<String>§options: Map<String, Value>§attach: Vec<HeldFile>Files attached to a message, with their SHA-256 at the run.
rate: Option<Rate>The destination’s rate: at the run, which the release keeps unless --rate says otherwise.
message: Option<(String, String)>A message’s title and text.
files: Vec<HeldFile>Trait Implementations§
Source§impl<'de> Deserialize<'de> for HeldEntry
impl<'de> Deserialize<'de> for HeldEntry
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
Auto Trait Implementations§
impl Freeze for HeldEntry
impl RefUnwindSafe for HeldEntry
impl Send for HeldEntry
impl Sync for HeldEntry
impl Unpin for HeldEntry
impl UnsafeUnpin for HeldEntry
impl UnwindSafe for HeldEntry
Blanket Implementations§
impl<T> Allocation for T
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