pub struct NewThread {
pub title: String,
pub body: String,
pub labels: Vec<String>,
pub refs: Vec<String>,
pub attachments: Vec<Attachment>,
}Expand description
Spec for opening a new thread.
Fields§
§title: StringThread headline.
body: StringRoot message body.
labels: Vec<String>Labels (same pool as tickets).
refs: Vec<String>Free-form references (ticket IDs, post IDs, URLs).
attachments: Vec<Attachment>Pre-staged attachments (see crate::ops::stage_media).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewThread
impl RefUnwindSafe for NewThread
impl Send for NewThread
impl Sync for NewThread
impl Unpin for NewThread
impl UnsafeUnpin for NewThread
impl UnwindSafe for NewThread
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